Can a Control close a form from a SubForm

  • Thread starter Thread starter Bob Vance
  • Start date Start date
Can a Control on the Child subForm close the form it is On?

Sure. You want to close the *parent* form? (A subform cannot be "closed" as it
is not actually "open"). If so, put code in the appropriate control event:

DoCmd.Close acForm, Parent.Name, acSaveNo
 

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