C
Corey-g via AccessMonster.com
Hi All,
I have read throughout the forums that opening a form as "acDialog" will
cause your code to stop and wait for the form to finish or whatever. It
doesn't seem to be working that way for me...
Here's what I'm doing:
Open app to a splash screen
Splash screens 'form_open' event checks to see if logged in. If not opens
the login form
If Not valid Then
DoCmd.OpenForm "frmLogin", , , , , acDialog
End If
The login form has only 2 functions (btnLogin_Click & btnClose_Click)
I thought my code would pause until the form was either closed or the login
button clicked, but that doesn't happen...
Login Form's "Form" settings (other tab) Pop Up = YES, Modal = YES
Am I missing something?
TIA,
Corey
I have read throughout the forums that opening a form as "acDialog" will
cause your code to stop and wait for the form to finish or whatever. It
doesn't seem to be working that way for me...
Here's what I'm doing:
Open app to a splash screen
Splash screens 'form_open' event checks to see if logged in. If not opens
the login form
If Not valid Then
DoCmd.OpenForm "frmLogin", , , , , acDialog
End If
The login form has only 2 functions (btnLogin_Click & btnClose_Click)
I thought my code would pause until the form was either closed or the login
button clicked, but that doesn't happen...
Login Form's "Form" settings (other tab) Pop Up = YES, Modal = YES
Am I missing something?
TIA,
Corey