Can you rest a form in access 2003?

L

Lisa

I have a form that Has a drop down list on it that goses to another form. I
want my orginal form to rest once the secondary form opens. Any ideas?
 
J

Jerry Whittle

What do you mean bye 'rest'? If you want to hide it, you can put the
following line in the code used to go to the other form.

Me.Visible = False

To bring it back from another form:

DoCmd.OpenForm FormName
 
L

Larry Daugherty

Have you read about Mrs. Malaprop?

Forms don't "rest" so I'll assume you mean "close" instead.

In a line immediately following the line that causes the new form to
open [Presumable in the AfterUpdate event of the combobox] issue the
command to close the current form.

HTH
 
Top