In a database application that uses dbExpress there are two ways to
change data in the database. One way is to use a ClientDataSet. This is
most often used to allow users to view and edit data through the user
interface. When you call TClientDataSet.ApplyUpdates the
TDataSetProvider automatically starts a transaction, updates the
database then either commits or rolls back the transaction.
The other way to edit data is using SQL directly by using a TSQLDataSet
component and setting the CommandText property to an SQL INSERT, UPDATE
or DELETE statement then executing that statement by calling
TSQLDataSet.ExecSQL. When you do this you must start and commit or roll
back the transaction in your code.
--
Bill Todd (TeamB)