of_getdatasource


pfcmain.pbl   >   pfc_u_lv   >   of_getdatasource   

Full name pfc_u_lv.of_getdatasource
Access public
Extend of integer
Return value integer
Prototype public function integer of_getdatasource(ref n_ds)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_getdatasource (ref n_ds ads_source);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetDataRow
//
//	Access:  public
//
//	Arguments:
//	ads_Source				The handle to the DataStore (of type n_ds) for the Listview.
//									Passed by reference.
//
//	Returns:		Integer
//					1	- the DataStore was valid, -1	- it was not.
//
//	Description:	Get the DataStore used as the source for the ListView.  This
//						allows the user to update this row any way they wish.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(ids_Source) Or Not IsValid(ids_Source) Then Return -1

ads_Source = ids_Source
Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data