|
of_Validation
|
|
Full name
|
pfc_u_dw.of_Validation
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_Validation()
|
Name
|
Datatype
|
li_rc
|
integer
|
public function integer of_Validation ();//////////////////////////////////////////////////////////////////////////////
// Public Function:of_Validation
// Arguments: None
// Returns: Integer
// 1 = All validation passed
// -1 = validation failed
// Description: Perform validation logic.
// Note: Specific Validation logic should be coded in descendant pfc_validation 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
li_rc = inv_Linkage.of_Validation()
else
li_rc = this.Event pfc_Validation()
end if
return li_rc
end function