of_Setalwaysvalidate


pfcmain.pbl   >   pfc_u_tvs   >   of_Setalwaysvalidate   

Full name pfc_u_tvs.of_Setalwaysvalidate
Access public
Extend of integer
Return value integer
Prototype public function integer of_Setalwaysvalidate(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_Setalwaysvalidate (boolean ab_validate);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetAlwaysValidate
//
//	Access:  Public
//
//	Arguments:
//	ab_validate   Indicates whether the validation should always be done
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets whether the validation should always be done
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check arguments
if IsNull (ab_validate) then
	return -1
end if

ib_alwaysvalidate =  ab_validate
return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data