Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : BUFFER-VALIDATE( ) method
 

BUFFER-VALIDATE( ) method

Verifies 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: LOGICAL
Applies to: Buffer object handle

Syntax

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( ).