of_updatespending


pfcapsrv.pbl   >   pfc_n_cst_luw   >   of_updatespending   

Full name pfc_n_cst_luw.of_updatespending
Access public
Extend of integer
Return value integer
Prototype public function integer of_updatespending(powerobject[],ref powerobject[])

Name Datatype
No Data

Name Datatype
li_rc Integer
lpo_empty PowerObject[]

public function integer of_updatespending (powerobject apo_control[], ref powerobject apo_controlpending[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  
//	of_UpdatesPending
//
//	Access:  public
//
//	Arguments:
//	apo_control[]  array of controls to check for any updates pending
//	apo_controlpending[] (by reference) array of controls which have updates pending
//
//	Returns:  integer
//	 # of objects with updates pending
//	-1 = error
//
//	Description:
//	Check in each object for updatespending for the specified array and store
//	references in ipo_pendingupdates.  Return by reference those objects with 
//	updates pending in apo_controlpending.
//
//	Note:
//	The objects with updates pending are stored in ipo_pendingupdates[].
//
//////////////////////////////////////////////////////////////////////////////
//	

//	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.
//
//////////////////////////////////////////////////////////////////////////////

Integer		li_rc
PowerObject	lpo_empty[]

// Initiliaze reference variable.
apo_controlpending = lpo_empty

// Clear the instace variable which holds pending objects.
ipo_pendingupdates = lpo_empty	// *Clear* instance.

// Determine the objects with Updates pending.
li_rc = this.of_UpdatesPending(apo_control)
If li_rc >= 1 Then
	// Populate the pending objects reference.
	apo_controlpending = ipo_pendingupdates
End If

// Clear the instace variable which holds pending objects.
ipo_pendingupdates = lpo_empty	// *Clear* instance.

Return li_rc

end function

     
Name Owner
pfc_n_cst_luw.of_save pfc_n_cst_luw
pfc_u_lvs.pfc_updatespending pfc_u_lvs
pfc_u_tab.pfc_updatespending pfc_u_tab
pfc_u_tvs.pfc_updatespending pfc_u_tvs
pfc_w_master.pfc_updatespendingref pfc_w_master
pfc_u_base.pfc_updatespending pfc_u_base

     
Name Owner
pfc_n_cst_luw.of_updatespending pfc_n_cst_luw

     
Full name
No Data

     
Name Scope
No Data