pfc_validation


pfcmain.pbl   >   pfc_w_master   >   pfc_validation   

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

Name Datatype
No Data

Name Datatype
No Data

event pfc_validation;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  
//	pfc_validation
//
//	Arguments:		
//	apo_control   Array of controls that need validation.
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Perform validation for specified powerobject array.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
// 6.0	Redirected to the Logical Unit of Work Service.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// 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_Validation(apo_control)
End If

Return -1
end event

     
Name Owner
pfc_w_master.of_updatechecks pfc_w_master
pfc_w_master.of_validation pfc_w_master

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_luw.of_validation pfc_n_cst_luw
pfc_w_master.of_setlogicalunitofwork pfc_w_master

     
Full name
No Data

     
Name Scope
No Data