Forum Post: Re: Validate <buffer> Statement

  • Thread starter Thread starter cverbiest
  • Start date Start date
Status
Not open for further replies.
C

cverbiest

Guest
see also database trigger documentation from OpenEdge® Web Paper: ABL Database Triggers and Indexes WRITE When the AVM changes the contents of a record and validates it for a particular database table, the AVM first fires all applicable WRITE triggers, then fires all applicable REPLICATION-WRITE triggers. The AVM automatically validates a record when releasing it.You can also use the VALIDATE statement to explicitly validate a record. In either case, W RITE triggers execute before the validation occurs (so WRITE triggers can correct values and do more sophisticated validation). the AVM might execute the WRITE triggers for a single record more than once before it writes the record to the database, if it validates the record more than once and you modify the record between validations. (A modification is considered any change, even if you return the original value.).

Continue reading...
 
Status
Not open for further replies.
Back
Top