Hi

in the 3.3.1 Version of DOA I get a message that the AutoCommit Property is obsolete and will be
removed in the next Version.


Im using this property for the following reason

Example:

A form to add some records into one ore more Tables , OK Button, Cancel Button

In the OnShow Event of the Form I set the

DoaDaten.DoaSession.AutoCommit :=FALSE;

Now the user can add some Records into the Tables Tables ...

If he presses the OK Button :

DoaDaten.DoaSession.Commit;

modalResult:=mrOK;

If he presses the cancel Button :

doaDaten.DoaSession.rollback;
modalResult:=mrCancel;


And finally, in the OnClose Event of the Form
DoaDaten.DoaSession.AutoCommit:=TRUE;


This is a easy and perfectly working way to implement the Cancel functionality

Can somebody tell me how to do this without the Autocommit Property .

When do the DOAs the commit ?
Maybe I dont understand the Autocommit Property, what does it mean if its "False" , do I have to commit ever by myself ?


Best regards
Holger