M
Martureo Bob
Hi;
I'm updating two Dao RecordSets in a VBA module. My sequence of events is
as follows:
"StartTrans"
Open both RecordSets
Make the necessary changes / additions to the data
Close the RecordSets
"CommitTrans"
Using the above, the records get updated properly.
BUT --- does it make a difference where I **close** the RecordSets? Am I
defeating the purpose of the Transaction if I close them both before the
"CommitTrans"? Or must I close them both after the "CommitTrans" in order
to have transaction handling on this?
Thanks!
Bob.
I'm updating two Dao RecordSets in a VBA module. My sequence of events is
as follows:
"StartTrans"
Open both RecordSets
Make the necessary changes / additions to the data
Close the RecordSets
"CommitTrans"
Using the above, the records get updated properly.
BUT --- does it make a difference where I **close** the RecordSets? Am I
defeating the purpose of the Transaction if I close them both before the
"CommitTrans"? Or must I close them both after the "CommitTrans" in order
to have transaction handling on this?
Thanks!
Bob.