hiding forms

M

Marshall Barton

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)
 
G

Guest

-----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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top