of_GetTransObject


pfcapsrv.pbl   >   pfc_n_cst_lvsrv_datasource   >   of_GetTransObject   

Full name pfc_n_cst_lvsrv_datasource.of_GetTransObject
Access public
Extend of integer
Return value integer
Prototype public function integer of_GetTransObject(ref n_tr)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_GetTransObject (ref n_tr atr_obj);//////////////////////////////////////////////////////////////////////////////
//	Public Function:	of_GetTransObject
//	Arguments:		atr_obj	The transaction object (of type n_tr) the Listview uses.
//									Passed by reference.
//	Returns:			Integer
//					 	1	- the transaction object was valid, 
//						-1	- it was not.
//	Description:	Get the transaction object used for the Listview.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						6.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 Sybase, Inc. and its subsidiaries.  All rights reserved.  Any distribution of the 
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
if IsNull(inv_Attrib.itr_obj) or not IsValid(inv_Attrib.itr_obj) then return -1

atr_obj = inv_Attrib.itr_obj

return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data