Hello,
I have a main form with two continuous subforms - neither is using
master/child fields. Subform2 is bound to a local temp table. When I
update a record on subform1 it executes a function on subform2 that deletes
the records from teh temp table and repopulates it and of course executes a
me.requery afterweards. This is done with an ado connection object. The
problem is that subform2 doesn't "see" the data for a few seconds. I've
tried using a transaction and closing the conneciton object and using
DoEvents but it doesn't work. I've had to resort to putting in a 2 second
delay before the me.requery, but that's not reasonable. I must use the ADO
connection so DAO db object is out.
Is there a way to sync between the currentdb and ADO faster?
Thanks.
Matthew Wells
MWells@FirstByt e.net
I have a main form with two continuous subforms - neither is using
master/child fields. Subform2 is bound to a local temp table. When I
update a record on subform1 it executes a function on subform2 that deletes
the records from teh temp table and repopulates it and of course executes a
me.requery afterweards. This is done with an ado connection object. The
problem is that subform2 doesn't "see" the data for a few seconds. I've
tried using a transaction and closing the conneciton object and using
DoEvents but it doesn't work. I've had to resort to putting in a 2 second
delay before the me.requery, but that's not reasonable. I must use the ADO
connection so DAO db object is out.
Is there a way to sync between the currentdb and ADO faster?
Thanks.
Matthew Wells
MWells@FirstByt e.net
Comment