BUFFER-VALIDATE( ) method
- Last Updated: June 12, 2023
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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
|
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().
Note: The
BUFFER-VALIDATE() method cannot be used
together with other assignments in a single ASSIGN statement.