of_setalwaysvalidate


pfcmain.pbl   >   pfc_u_base   >   of_setalwaysvalidate   

Full name pfc_u_base.of_setalwaysvalidate
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_setalwaysvalidate(boolean)

Name Datatype
No Data

Name Datatype
No Data

protected function integer of_setalwaysvalidate (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetAlwaysValidate
//
//	Access:  protected
//
//	Arguments:		
//	ab_switch	Switch which determines which objects should be validated in the 
//					save process.
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Switch which determines which objects should be validated in the save process.
//	If false, the objects with updates pending will be validated.
//	If true, all objects that were tested for updates pending will be validated.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

If IsNull(ab_switch) Then Return -1
ib_alwaysvalidate = ab_switch
Return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data