Subject | Proper Transaction Usage in an MDI App |
---|---|
Author | Chris Landowski |
Post date | 2001-01-10T08:06:10Z |
In an MDI style app, is it typical to use a separate transaction on each
child form with an isolation of tiCommitted ?
I have tried using a single transaction on a shared datamodule but when I go
to post my changes, datasets on other child forms that are in an edit state
automatically post.
Could someone please advise me on the best method for transaction handling
in and MDI style app. I would like the changes made in one child form
visible to the remaining child forms as soon as they are posted, but do not
want datasets on other child forms affected. I would also prefer to keep the
transactions as short as possible. Is the default transaction even an option
for me ?
Thanks in advance,
Chris Landowski
Dynamic Software Solutions
child form with an isolation of tiCommitted ?
I have tried using a single transaction on a shared datamodule but when I go
to post my changes, datasets on other child forms that are in an edit state
automatically post.
Could someone please advise me on the best method for transaction handling
in and MDI style app. I would like the changes made in one child form
visible to the remaining child forms as soon as they are posted, but do not
want datasets on other child forms affected. I would also prefer to keep the
transactions as short as possible. Is the default transaction even an option
for me ?
Thanks in advance,
Chris Landowski
Dynamic Software Solutions