DataControl.Insert method

From Xojo Documentation

Method

DataControl.Insert()

Supported for all project types and targets.

By default, adds a new record to the table, closes the RecordSet, and clears any data aware fields.

Notes

This behavior can be overridden in the Insert event. Insert triggers the following events:

  • Validate (and closes the RecordSet)
  • Insert (and clears data-aware fields)

Example

Me.Insert