Microsoft
Software
Hardware
Network
Question : popup modal form
Hi EE,
a) Want to display a popup modal form that waits for user to type in signon and password.
b) Am superimposing the modal form on top of a "main menu" form.
c) The main form seems to (incorrectly for my taste) be the active form....
would like the modal form to be active with the focus set to the first field which is the
sign on id.
d) below is a screen shot
e) code snippet:
main form's open event:
--------------------------
--
If Len(pg_strSignOnId) = 0 Then
DoCmd.OpenForm ("FRM_LogIn")
End If
modal form's open event:
--------------------------
---
Private Sub Form_Open(Cancel As Integer)
Me.txtSignOn.SetFocus
Me.SetFocus <---- this idea does not seem to activate the modal form
End Sub
Your ideas are appreciated, tx, sandra
Answer : popup modal form
Try this:
DoCmd.OpenForm ("FRM_LogIn"),,,,,acDialog
mx
Random Solutions
Outlook7 mail Icon
OWA - "Internet Explorer cannot display the webpage" After Login Prompt
Help in Defining query in Access
" can't move the items. the file path\filename.pst could not be accessed Outlook 2003 Under XP
Urgent System.UnauthorizedAccessE<wbr />xception
Can you configure integrated/ntlm authentication in the Remote Desktop Client?
How to change the language used for menus and dialog boxes
How do I disable script & execute permission in IIS7 for a specific site subdirectory?
Connect to a Crosstab query in Access from Excel
transferring terminal services licenses to a new server