pfc_update


pfcmain.pbl   >   pfc_n_ds   >   pfc_update   

Full name pfc_n_ds.pfc_update
Access public
Extend of integer
Return value integer
Prototype event integer pfc_update(boolean,boolean)

Name Datatype
No Data

Name Datatype
li_rc integer

event pfc_update;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  pfc_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:  	Specific Update logic. 
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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

// Verify passed arguments.
IF IsNull(ab_accepttext) Or IsNull(ab_resetflag) Then Return -1 

if isValid (inv_multitable) then
	li_rc = inv_multitable.of_update (ab_accepttext, ab_resetflag)
else
	li_rc = this.Update(ab_accepttext, ab_resetflag)	
end if

Return li_rc
end event

     
Name Owner
pfc_n_ds.of_update pfc_n_ds
pfc_n_ds.of_update pfc_n_ds

     
Name Owner
datastore.update datastore
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dssrv_multitable.of_update pfc_n_cst_dssrv_multitable

     
Full name
No Data

     
Name Scope
No Data