of_getobjects


pfcmain.pbl   >   pfc_u_lvs   >   of_getobjects   

Full name pfc_u_lvs.of_getobjects
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_getobjects(ref powerobject[])

Name Datatype
No Data

Name Datatype
lds_source n_ds

protected function integer of_getobjects (ref powerobject apo_objects[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_GetObjects
//
//	Access:  protected
//
//	Arguments:		
//	apo_objects[] (by reference) An array of objects on which the update process 
//				will take effect.
//
//	Returns:  integer
//	 # of objects in the array if successful
//	-1 = error
//
//	Description:
//	Gets the current objects for which an updates will be attempted.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
n_ds	lds_source

// Determine the datasource.
If IsValid(inv_datasource) Then
	If inv_datasource.of_GetDataSource(lds_source) < 1 then Return -1
	apo_objects[1] = lds_source
	Return upperbound(apo_objects)
End If

Return -1
end function

     
Name Owner
pfc_u_lvs.of_accepttext pfc_u_lvs
pfc_u_lvs.of_updatespending pfc_u_lvs
pfc_u_lvs.of_validation pfc_u_lvs
pfc_u_lvs.of_updateprep pfc_u_lvs
pfc_u_lvs.of_postupdate pfc_u_lvs
pfc_u_lvs.of_update pfc_u_lvs

     
Name Owner
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions
pfc_n_cst_lvsrv_datasource.of_GetDataSource pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data