Error closing Form

D

Dave

Access 2003

I have a button on a form I want to close with the following code

DoCmd.Close

It will not close and gives an error


The form has 2 sub forms on it and if I remove them it works fine???

What am I doing wrong to close this form?

Thanks,

dave
 

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