J
Jeff A via AccessMonster.com
Hi,
I used to use ADO methods to update certain tables. The problem is sometimes,
it takes a second or two before the updates get committed to the database. It
especially becomes a problem when there's additional, immediate processing
that depends on the updated tables. For example, I used ADO to add new
records to a table and then a report was run to pick up the new records. More
often than not, the report couldn't "see" the records right away. Usually I
need a second run to pick up the records.
But if I use DoCmd.RunSQL, the table gets updated right away. Is there a way
to flush/write the ADO data immediately to the table rather than being
buffered? The ADO I used connected to another MS Access database. I tried
configuring and reconfiguring the ODBC connection (setting SafeTransactions
to 0, etc.) at the control panel and it still didn't solve the problem.
Any thoughts?
Thanks, jeff
I used to use ADO methods to update certain tables. The problem is sometimes,
it takes a second or two before the updates get committed to the database. It
especially becomes a problem when there's additional, immediate processing
that depends on the updated tables. For example, I used ADO to add new
records to a table and then a report was run to pick up the new records. More
often than not, the report couldn't "see" the records right away. Usually I
need a second run to pick up the records.
But if I use DoCmd.RunSQL, the table gets updated right away. Is there a way
to flush/write the ADO data immediately to the table rather than being
buffered? The ADO I used connected to another MS Access database. I tried
configuring and reconfiguring the ODBC connection (setting SafeTransactions
to 0, etc.) at the control panel and it still didn't solve the problem.
Any thoughts?
Thanks, jeff