Delay after an insert using ADO connection

B

Bob Ryan

I find (in my first attempts at using ADO) that I can do
an insert using a connection.execute method successfuly.

If I do this insert and immediatly do a requery on a
subform who's record source is the table into which I
inserted a new row the record source does not include my
newly inserted record.

If I wait a second or two and do another requery my newly
inserted record will show up.

This delay is problematic and I do not understand why it
is there.

Any ideas on how I can avoid it?

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top