J
JimS
I'm a little conflicted. I just got my head around using bound forms to "do
things the way the tool developer intended...." Now I want to do a two-table
update (linked tables FrontEnd/BackEnd.) The form is bound to the transaction
table, and that's worked well for me. I use docmd.gotorecord,,acnewrec, fill
the fields, then requery to force a post to the transaction table.
Simultaneously (therin lies the rub), I update the inventory balance to
reflect the transaction qty. I do this with a docmd.runsql update statement.
If one of these fails for some reason, I need the entire sequence to
rollback.
I've read the (sketchy) help files on Begin/Rollback transaction, but
1. Seems to work only on local tables...
2. Can't really seem to see how it would be in control of the two tables
being updated in two different ways.
I think if I go with all ADO, I can figure it out, but doesn't that fly in
the face of the bound table methodology which works best with the docmd.
stuff and already has recordsets in place, etc?
Can someone point me to examples, or white papers that would clear up my
mental fog? Or at least make it as clear as my elderly mind can grasp...
Thanks in advance!
things the way the tool developer intended...." Now I want to do a two-table
update (linked tables FrontEnd/BackEnd.) The form is bound to the transaction
table, and that's worked well for me. I use docmd.gotorecord,,acnewrec, fill
the fields, then requery to force a post to the transaction table.
Simultaneously (therin lies the rub), I update the inventory balance to
reflect the transaction qty. I do this with a docmd.runsql update statement.
If one of these fails for some reason, I need the entire sequence to
rollback.
I've read the (sketchy) help files on Begin/Rollback transaction, but
1. Seems to work only on local tables...
2. Can't really seem to see how it would be in control of the two tables
being updated in two different ways.
I think if I go with all ADO, I can figure it out, but doesn't that fly in
the face of the bound table methodology which works best with the docmd.
stuff and already has recordsets in place, etc?
Can someone point me to examples, or white papers that would clear up my
mental fog? Or at least make it as clear as my elderly mind can grasp...
Thanks in advance!