G
Guest
I am running a program on Access which uses VBA components to update
information in the database. At times, however, the sequence of operations
would leave the database with information in a state which is not acceptable
to other applications which might query it. The question is how, within this
VBA program, I should bracket sections which should be atomic because they
need to go to completion before an external program should be allowed to
query the database for data. Since the process is ongoing, and multiple
applications are querying the database using ODBC, it is essential that the
atomic operation only causes the queries to wait until it has completed
operation before returning its value but doesn't actually prevent the query
from operating via a lockout. What is the best approach to this issue?
information in the database. At times, however, the sequence of operations
would leave the database with information in a state which is not acceptable
to other applications which might query it. The question is how, within this
VBA program, I should bracket sections which should be atomic because they
need to go to completion before an external program should be allowed to
query the database for data. Since the process is ongoing, and multiple
applications are querying the database using ODBC, it is essential that the
atomic operation only causes the queries to wait until it has completed
operation before returning its value but doesn't actually prevent the query
from operating via a lockout. What is the best approach to this issue?