Error closing Form

  • Thread starter Thread starter Dave
  • Start date Start date
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
 
Back
Top