pfc_retrieve


pfcmain.pbl   >   pfc_u_tvs   >   pfc_retrieve   

Full name pfc_u_tvs.pfc_retrieve
Access public
Extend of long
Return value long
Prototype event long pfc_retrieve(long,ref n_ds)

Name Datatype
No Data

Name Datatype
No Data

event pfc_retrieve;//////////////////////////////////////////////////////////////////////////////
//
//	Event:		pfc_Retrieve
//
//	Arguments:	
//	al_parent	The handle to the Treeview item to place retrieved data under
//	ads_data		The datastore holding the rows to add to the treeview as items
//						passed by reference
//
//	Returns:		long
//			 number of items returned by the retrieve
//			-1 = error
//
//	Description:
//	Return the number of rows placed in the data source.
//
//	Extend this event to populate the retrieval arguments and then call the of_retrieve()
//		function.  Below is an example of code which would be needed to extend.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////
//any la_args[20]
//integer li_level
//
//if isvalid(inv_levelsource) then
//	li_level = of_getnextlevel(al_parent)
//	of_getargs(al_parent, li_level, la_args)
//end if
//of_retrieve(al_parent, la_args, ads_data)

Return 0
end event

     
Name Owner
pfc_u_tvs.of_populate pfc_u_tvs

     
Name Owner
No Data

     
Full name
No Data

     
Name Scope
No Data