# DataValidateConstants
{: .no_toc }

Action codes reported in the *Action* argument of a Data control's **Validate** event, identifying the operation that triggered validation.

| Constant | Value | Description |
|----------|-------|-------------|
| **vbDataActionCancel**{: #vbDataActionCancel } | 0 | The pending action is being cancelled. |
| **vbDataActionMoveFirst**{: #vbDataActionMoveFirst } | 1 | The user is moving to the first record. |
| **vbDataActionMovePrevious**{: #vbDataActionMovePrevious } | 2 | The user is moving to the previous record. |
| **vbDataActionMoveNext**{: #vbDataActionMoveNext } | 3 | The user is moving to the next record. |
| **vbDataActionMoveLast**{: #vbDataActionMoveLast } | 4 | The user is moving to the last record. |
| **vbDataActionAddNew**{: #vbDataActionAddNew } | 5 | A new record is being added. |
| **vbDataActionUpdate**{: #vbDataActionUpdate } | 6 | The current record is being updated. |
| **vbDataActionDelete**{: #vbDataActionDelete } | 7 | The current record is being deleted. |
| **vbDataActionFind**{: #vbDataActionFind } | 8 | The user invoked a find operation. |
| **vbDataActionBookmark**{: #vbDataActionBookmark } | 9 | The user is moving to a bookmarked record. |
| **vbDataActionClose**{: #vbDataActionClose } | 10 | The recordset is being closed. |
| **vbDataActionUnload**{: #vbDataActionUnload } | 11 | The form is being unloaded. |
