Access 2007 closing prompts to save subform

E

Eric Heinold

I have a form in Access 2007 that has a subform. I have a close button,
that does the following

DoCmd.Close acForm, Me.Name, acSaveNo

However, when I close the form, I will get a prompt about saving the
subform.

Also, if I use the Close button in the window toolbar, I get a prompt to
save both the form and the subform.

Is there a new setting in Access 2007 that I can shut off to keep this from
happening, or is there something else I can do?

Thanks,

Eric Heinod
 
Top