Before Update

This event occurs after a record has been edited but before it is written to the table. This event is triggered by moving to another record or attempting to save the current record. The BeforeUpdate event takes place after the BeforeInsert event. Use this event to validate the entire record and display a message to confirm the change. The BeforeUpdate event can be cancelled if the record cannot be accepted.

The event procedure in Hands-On 24-4 will supply the value for the EmployeeId index field before the newly entered record is saved.

0 0

Post a comment