Form Closing Question

  • Thread starter Thread starter Carl Mankat
  • Start date Start date
C

Carl Mankat

I'm using Access 2K on a W2K machine.

I have three forms, Main Menu, Combo List, and Output which has a sub form.

I would like to use a combo button to open the Combo List form and from
that form, pass the combo information to the Output form and open it.
This all works well.
I know I have to keep the Combo List form open to use that value in the
Output form. I would like to do the following:

Close the Output form and return to the main Menu /and/ close the Combo
List form also.

I can close the Output form and go to the main Menu but when I close the
Main Menu the Combo List form comes up. I need to do something like a
DoCmd Close for the Combo List form and close the Main Menu too. I don't
know the code to use for that.

Any pointers appreciated.

TIA,

Carl
 
In the "OnClose" event of form "Output", enter


DoCmd.Close acForm, "Combo List"


Whenever form "Output" is closed, form "Combo List" will also be closed.

HTH
 

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