
February 15th, 2004, 10:27 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Problem edit/update within a transaction
Can't believe I am asking this...
Company I am working for have an old system written in Access 97 VBA (DAO).
In it they start a transaction, modify some fields and end the transaction, we have within this transaction now also directly modified some of the fields (using edit and update) and when run it gets 3003 or 3246 transaction errors.
Does anyone know why we would get these errors (my assumption is you cannot have a transaction open and edit the database at the same time)?
We have a solution (move the edit/update to after the transaction has finished) which is tested and works, but my boss will not let me use it as she considers it a workaround and would prefer to know what the actual problem is.
I have not used DAO in a long time and rarely use transactions, but it is a case of any database activity within the begintrans and commit or rollback is considered part of the transaction?
Thanks,
Brian.
Last edited by brianb99999 : February 15th, 2004 at 10:49 PM.
|