of_getrow


pfcmain.pbl   >   pfc_u_lvs   >   of_getrow   

Full name pfc_u_lvs.of_getrow
Access public
Extend of integer
Return value integer
Prototype public function integer of_getrow(integer,ref n_ds,ref long)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_getrow (integer ai_index, ref n_ds ads_obj, ref long al_row);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_GetRow
//
//	Access:   		Public
//
//	Arguments:		
//	ai_index		The index of the item to be refreshed.
//	ads_obj		Datastore holding Listview item information
//	al_row		Row in datastore pointing to Listview Item
//
//	Returns:  		Integer
//	 1 for success.
//	-1 for error.
//
//	Description:  
//	 Return the row in the datastore and the datastore for the listview item index.
//
//	Note: If using a different service from the one PFC provides, then override
//			this function to call the other service.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0    Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////

// Get the corresponding row in the DataStore
If IsValid(inv_datasource) then
	Return inv_datasource.of_GetDataRow(ai_index, ads_obj, al_Row) 
End If

Return -1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_lvsrv_datasource.of_GetDataRow pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data