How to hide a form?

  • Thread starter Thread starter news2
  • Start date Start date
N

news2

I have a dialog form which, when exited, refuses to close until the
following process is completed. I have tried
DoCmd.Close acForm, "PasswordEntryForm"
to no avail.

Now it would be fine if I could at least HIDE it so the user could see the
status info that's appearing beneath it.

Dick
 
Me.Visible = False
some code here
DoCmd.Close acForm

Is it what you need, Dick?

Vlado
 
You may want to add DoEvents:
Me.Visible = False
DoEvents
some code here
DoCmd.Close acForm

V.
 

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