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
Basic MS Access Line Chart in report
How to read field names from an XSD file.
ranking records and determining percentage of total in access 2007
Infinite loop when Range is only 1 cell
Uneccessary Programs/ addons ...things that take up internet bandwidth that can be removed.
MS Access Macro Auto Select Both Combo Box and Text Box at Same time in Same form
Data table with offsheet input
How to lower commit charge in windows XP
Subreport/ Subform not showing up in Main Report
XmlDocument.Load(Stream) method is removing tabs between tags