DataValidateConstants
Action codes reported in the Action argument of a Data control’s Validate event, identifying the operation that triggered validation.
| Constant | Value | Description |
|---|---|---|
| vbDataActionCancel | 0 | The pending action is being cancelled. |
| vbDataActionMoveFirst | 1 | The user is moving to the first record. |
| vbDataActionMovePrevious | 2 | The user is moving to the previous record. |
| vbDataActionMoveNext | 3 | The user is moving to the next record. |
| vbDataActionMoveLast | 4 | The user is moving to the last record. |
| vbDataActionAddNew | 5 | A new record is being added. |
| vbDataActionUpdate | 6 | The current record is being updated. |
| vbDataActionDelete | 7 | The current record is being deleted. |
| vbDataActionFind | 8 | The user invoked a find operation. |
| vbDataActionBookmark | 9 | The user is moving to a bookmarked record. |
| vbDataActionClose | 10 | The recordset is being closed. |
| vbDataActionUnload | 11 | The form is being unloaded. |