BUFFER-VALIDATE( ) methodVerifies that a record in a buffer object complies with mandatory field and unique index definitions. The BUFFER-VALIDATE( ) method corresponds to the VALIDATE statement.
Return type:
Applies to:
BUFFER-VALIDATE ( )If a field or table has been modified, this method causes a WRITE event and executes all related WRITE triggers.If successful, this method returns TRUE. Otherwise, it returns FALSE. If the validation fails on a newly-created record, this method returns FALSE and raises the ERROR condition.The record is not released and the lock status remains the same as before the BUFFER-VALIDATE( ).
© 2012 Progress Software Corporation and/or its subsidiaries or affiliates. |