troubleshooting Question

Does execution wait for a requery to complete?

Avatar of jondecker76
jondecker76 asked on
Microsoft AccessSQL
3 Comments1 Solution306 ViewsLast Modified:
I am working on a routine that requeries a form, then does some other processing assuming that the form's resultset is up to date. It worked on fine in one form (where there were very few entries in that form's query table), but did not work on another form where the query had a very large resultset.

This leads me to believe that when I run Me.Requery, the requery is done in a separate thread while execution continues, is this correct?

If so, then is there a way I can wait until that requery is finishd before going to the next statment? And if that isn't a possiblity, is there an event that fires when a requery is complete?

thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros