of_GetIndex


pfcapsrv.pbl   >   pfc_n_cst_lvsrv_datasource   >   of_GetIndex   

Full name pfc_n_cst_lvsrv_datasource.of_GetIndex
Access public
Extend of integer
Return value integer
Prototype public function integer of_GetIndex(long)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_GetIndex (long al_row);//////////////////////////////////////////////////////////////////////////////
//	Public Function:	of_GetIndex
//	Arguments:		al_Row		The row in the DataStore that the item points to.
//	Returns:			Integer
//						The Index of the ListView item that points to that row
//						0 if the item was not found
//						-1 if an error occurrs
//	Description:	Return the ListView item index that points to a particular row 
//						in the source DataStore.
//////////////////////////////////////////////////////////////////////////////
//	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.
//////////////////////////////////////////////////////////////////////////////
// Check Arguments
if IsNull(al_Row) or (al_row < 1) then return -1

return of_GetIndex(inv_Attrib.ids_Source, al_row)
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
pfc_n_cst_lvsrv_datasource.of_GetIndex pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data