hiding forms

  • Thread starter Thread starter malcolm
  • Start date Start date
malcolm said:
How do I hide and unhide a form in visual basic? Thank you.

If the code is in the form itself, use:
Me.Visible = True (or False)

If the code is in another form, the syntax would be:
Forms("nameofform").Visible = True (or False)
 
-----Original Message-----
malcolm said:
How do I hide and unhide a form in visual basic? Thank
you.

If the code is in the form itself, use:
Me.Visible = True (or False)

If the code is in another form, the syntax would be:
Forms("nameofform").Visible = True (or False)
--
Marsh
MVP [MS Access]
.
Thank you. I was looking in help for hide and unhide.
 
Back
Top