Skip to content

DataValidateConstants

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

ConstantValueDescription
vbDataActionCancel0The pending action is being cancelled.
vbDataActionMoveFirst1The user is moving to the first record.
vbDataActionMovePrevious2The user is moving to the previous record.
vbDataActionMoveNext3The user is moving to the next record.
vbDataActionMoveLast4The user is moving to the last record.
vbDataActionAddNew5A new record is being added.
vbDataActionUpdate6The current record is being updated.
vbDataActionDelete7The current record is being deleted.
vbDataActionFind8The user invoked a find operation.
vbDataActionBookmark9The user is moving to a bookmarked record.
vbDataActionClose10The recordset is being closed.
vbDataActionUnload11The form is being unloaded.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author