of_Update


pfcmain.pbl   >   pfc_u_dw   >   of_Update   

Full name pfc_u_dw.of_Update
Access public
Extend of integer
Return value integer
Prototype public function integer of_Update(boolean,boolean)

Name Datatype
No Data

Name Datatype
li_rc integer

public function integer of_Update (boolean ab_accepttext, boolean ab_resetflag);//////////////////////////////////////////////////////////////////////////////
//	Public Function:	of_Update
//	Arguments:		ab_accepttext		When applicable, specifying whether control should perform an
//												AcceptText prior to performing the update:
//						ab_resetflag		Value specifying whether object should automatically 
//												reset its update flags.
//	Returns:			Integer
//	 					1 = The update was successful
//						-1 = The update failed
//	Description:	Execute the specific Update logic.  
// 					Note:	Specific Update logic should be coded in descendant pfc_Update event.
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						6.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 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

if IsValid(inv_Linkage) then
	// Perform a Linked Update.
	li_rc = inv_Linkage.of_Update(ab_accepttext, ab_resetflag)
else
	// Perform the Update.
	li_rc = this.Event pfc_Update(ab_accepttext, ab_resetflag)
end if

return li_rc
end function

     
Name Owner
pfc_u_dw.of_Update pfc_u_dw

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_linkage.of_update pfc_n_cst_dwsrv_linkage
pfc_u_dw.pfc_update pfc_u_dw

     
Full name
No Data

     
Name Scope
No Data