J
Johnny Bright
Hi there!
I have a clients form with multiple subforms. When I have the user click
the "Payments" button and the payments form opens, it hides my clients form.
Private Sub Form_Activate()
Forms!frmclients.Visible = False
This works great. Then when I close the payments form using this code:
Private Sub Form_Deactivate()
Forms!frmclients.Visible = True
However, the database window ends up getting the focus and I have to go to
the window menu to find my clients form. I have tried hiding the database
window using Tools/Startup and all that does is hide everything and I have to
go to Window/Unhide.
What am I doing wrong here?
Thanks!
JR
I have a clients form with multiple subforms. When I have the user click
the "Payments" button and the payments form opens, it hides my clients form.
Private Sub Form_Activate()
Forms!frmclients.Visible = False
This works great. Then when I close the payments form using this code:
Private Sub Form_Deactivate()
Forms!frmclients.Visible = True
However, the database window ends up getting the focus and I have to go to
the window menu to find my clients form. I have tried hiding the database
window using Tools/Startup and all that does is hide everything and I have to
go to Window/Unhide.
What am I doing wrong here?
Thanks!
JR