View Single Post
  #1 (permalink)  
Old January 6th, 2006, 04:36 PM
rosebushr rosebushr is offline
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to rosebushr
Default Closing a form after opening another form

I am very new to programming so please speak slowly to me. I am working on a program that uses forms instead of switchboards to navigate from one form to another (please don't ask me why I am doing it this way). The problem that I am having is that when I use a macro to take me from one form to the next, it leaves the old form open. I want the old form to close when I open the new one. How do I go about doing this? I am looking for a universal way of closing the form and not just closing it from a specific form. I know I can use a docmd.close but I am not always coming from the same form form. I can come to the new form from multiple different directions. So I need commands that generically close an old form before they open the new form.

Please be specific because I will just be copying whatever you tell me to do. Thank you for your help.

Reply With Quote