DataControl.Validate Event

Occurs when you have modified the current record via data aware EditFields. Returning False (the default) updates the record with your changes.

Syntax

Validate ( Action )

Parameters

Action

Integer


Returning True prevents the update from happening. Action specifies what kind of action is being performed:

0=AddNew

1=Update

2=Delete