CommitTrans

This function saves any changes to the database that were started after the DB.BeginTrans command was executed and ends the current transaction.

Group: Database Related Extensions


Syntax:

[bValue =] DB.CommitTrans(vSource)

bValue     (Boolean) Optional – indicates success or failure

vSource   (Variant) data source name (DSN) or the data source number

Example:

DB.CommitTrans("RFSample")

DB.CommitTrans(1)