josephwalter
Programmer
There is no transaction control on my Macros (they execute a half dozen queries at a time), so I want to convert them to VB procedures. I've done a lot of VB coding before, but I'm having a bit of trouble with this one...
I would like to use ADO programming techniques, but I'm having problems opening a connection to the db while I've got the mdb open; therefore, I've resorted to using DAO programming techniques.
I understand that I need a workspace object, and that I need to use BeginTrans, CommitTrans, and Rollback to manage my transaction. What's the best method to execute my queries, though? ...Keeping in mind that I have parameter queries that prompt the user for values, as well as queries that reference values on the forms.
I would like to use ADO programming techniques, but I'm having problems opening a connection to the db while I've got the mdb open; therefore, I've resorted to using DAO programming techniques.
I understand that I need a workspace object, and that I need to use BeginTrans, CommitTrans, and Rollback to manage my transaction. What's the best method to execute my queries, though? ...Keeping in mind that I have parameter queries that prompt the user for values, as well as queries that reference values on the forms.