pfc_updateprep


pfcmain.pbl   >   pfc_w_master   >   pfc_updateprep   

Full name pfc_w_master.pfc_updateprep
Access public
Extend of integer
Return value integer
Prototype event integer pfc_updateprep(powerobject[])

Name Datatype
No Data

Name Datatype
No Data

event pfc_updateprep;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  
//	pfc_updateprep
//
//	Arguments:		
//	apo_control   Array of controls that may need preparation.
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Perform update preparation for specified powerobject array.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Make sure there is something to take action on.
If UpperBound(apo_control) = 0 Then Return NO_ACTION

// Let Logical Unit of Work Service perform the functionality (create if necessary).
If IsNull(inv_luw) Or Not IsValid (inv_luw) Then of_SetLogicalUnitofWork(True)
If IsValid(inv_luw) THen
	Return inv_luw.of_UpdatePrep(apo_control)
End If

Return -1
end event

     
Name Owner
pfc_w_master.of_updateprep pfc_w_master
pfc_w_master.pfc_save pfc_w_master

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
systemfunctions.upperbound systemfunctions
pfc_n_cst_luw.of_updateprep pfc_n_cst_luw
pfc_w_master.of_setlogicalunitofwork pfc_w_master

     
Full name
No Data

     
Name Scope
No Data