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
result = Validate( Action )

Parameters
Action | Integer

Return Value
Result | Boolean

# Notes

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

0=AddNew

1=Update

2=Delete