K
K. Shoghi
Hi all, I like to open a form in a middle of a code and I want the code to
pause untill the form is closed.
i have used the following code, but it freezes the whole database.
DoCmd.OpenForm "formname"
Do While CurrentProject.AllForms("formname").IsLoaded
Loop
if i step through the code, it works fine, only when i run the function, it
freezes, any help is appreciated.
pause untill the form is closed.
i have used the following code, but it freezes the whole database.
DoCmd.OpenForm "formname"
Do While CurrentProject.AllForms("formname").IsLoaded
Loop
if i step through the code, it works fine, only when i run the function, it
freezes, any help is appreciated.