Hide a form in Access 2000

  • Thread starter Thread starter Pastor Del
  • Start date Start date
Pastor Del said:
How can I make a form invisible in Access 2000?


If the form is already open, this line of VBA code will do i:

Forms!YourFormName.Visible = False

If the code is running in the code module of the form you want to hide, you
can use this simpler form instead:

Me.Visible = False

If you want to open a form invisibly, you can write this:

DoCmd.OpenForm "YourFormName", WindowMode:=acHidden

(other arguments may be included as needed.
 
Back
Top