G
Guest
I have a form on which a button press initiates a process of finding duplicate records across several tables. A table in the current database is first emptied of records and then populated with new records as duplicates are found, using syntax of the form:
tbl.Edit
tbl!<Fieldname> = Value
tbl.Update
When the process is complete, a couple of buttons on the form are enabled to allow viewing of the duplicates table that has been built. If I click the button to view the table too soon, I am shown a table with no records. If I close the table and click the button again (or wait a few seconds before clicking the first time), I am shown the fully populated table. Is there any way in DAO to force the table to complete its updates before displaying it, or failing that is there any way to determine if a table still has updates waiting to be completed?
Thanks in advance for any assistance!
Mike
tbl.Edit
tbl!<Fieldname> = Value
tbl.Update
When the process is complete, a couple of buttons on the form are enabled to allow viewing of the duplicates table that has been built. If I click the button to view the table too soon, I am shown a table with no records. If I close the table and click the button again (or wait a few seconds before clicking the first time), I am shown the fully populated table. Is there any way in DAO to force the table to complete its updates before displaying it, or failing that is there any way to determine if a table still has updates waiting to be completed?
Thanks in advance for any assistance!
Mike