I have some Procedures that are being fired off by access and I need to make sure they are done before Access continues to process the rest of the code. How can I do this? Your help is greatly appreciated.
1. You can put a sleep line in that will cause a pause in the program for whatever you set it to. For example, Sleep 30000 will cause the program to stop for 30 seconds. But, that does not guarantee the procedure is done.
2. What is the procedure doing? Is there a loop you could put in the code to loop through and check something until the criteria is met and then continue. The criteria would be based on what the procedure is actually doing.
I have not looked but maybe check msdn.com to see if there is a property you look at to clearify when the procedure is complete.
Just some thoughts..not sure if they will help.
Good Luck!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.