I'm in a form. I click a button to open a form. Within the onclick sub
there is code to open a form. I want that sub to wait until the user
completes his work on the newly opened form, then continue running the
sub. Does this make sense?
I tried with a while loop but that didn't work...
sub onclick_open_form
'open myform
'wait until the user is done with myform
do until not CurrentProject.Forms("myform").isloaded
loop
'once done loop terminates and we can go on here
'more code here...
end sub