DataControl.Commit

From Xojo Documentation

Property (As Boolean )
aDataControl.Commit = newBooleanValue
or
BooleanValue = aDataControl.Commit

Supported for all project types and targets.

If True, the DataControl automatically commits inserts, updates, and deletions to the database. The default is True.

Example

The following turns off the auto-commit feature.

Me.Commit = False