Hideing a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I have a button on my form (Maindb) thats named ReportsSwitchboard and
when clicked it brings up a form that is a paramater form. Is there some way
to hide the MaindB form when the ReportsSwitchboard is open and when the
ReportsSwitchboard is closed the MaindB form isnt hidden anymore. Please
explaing because im new to Access... Thanks!
 
On the OnClick event of ReportsSwitchboard write the code

Me.Visible=False

And use the UnLoad event of the ReportsSwitchboard to set it back to visible

Forms![Maindb].Visible = True
 
Back
Top