Problems w/ Forms in Dialog Mode

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have begun to experience a problem where, when within a form, in Dialog
mode, running a

DoCmd.Close acform, "[CurrentForm]"

statement causes the entire application to shutdown. Any suggestions on
what is going on?

Thanks, in advance.

Sharkbyte
 
Hi.

Form names cannot contain brackets. If CurrentForm is the name of the form
you are trying to close, then use this:
DoCmd.Close acForm, "CurrentForm"

If you are still having problems, please post back with more detail.

-Michael
 

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