Before Insert

This event occurs when the first character is typed in a new record but before the new record is created. Use this event to verify that the data is valid or to display information about data being added. You can use this event to place default values in the fields at run time. The BeforeInsert event can be cancelled if the data being added does not meet specific criteria.

The event procedure in Hands-On 24-2 demonstrates how to enter a default value in the Country field when a user begins to enter data in the form.

0 0

Post a comment