Hiding a form

  • Thread starter Thread starter Jonathan Blitz
  • Start date Start date
J

Jonathan Blitz

I am trying to hide a form from withing itself.

I tried me.hide and it doesn't exist.

I also tried:


Dim f As Form
Set f = Forms("frmselect")
f.hide

That doesn't work either. Fails on the "hide" method.

I tried using UserForm but the type doesn't exist.

I am using Access 2000 - ADP application.

Jonathan Blitz
 
Try

Me.Visible = False

or, for your other case,

f.Visible = False
 

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

Back
Top