Here is a sample of how to open one form while closing the other.
Hopefully you can modify it to suit your needs.
Sorry 'bout that. I deleted the db - I'm not that familiar with form/subforms.
Per the Help files:
Refer to a form, report, subform, or subreport in an expression
You refer to an open form or report, or the subform or subreport of an open form or report, in an expression by typing its identifier.
To refer to an open form or report
· Type the name of the Forms or Reports collection, followed by the ! operator and the name of the form or report. For example, the following identifier refers to the Orders form:
To refer to a subform or subreport
Refer to the subform or subreport control on the form or report that contains the subform or subreport, then use the Form or Report property of the control to refer to the actual subform or subreport.
· Type the identifier for the form that contains the subform, followed by the name of its subform control, the . (dot) operator, and the Form property. For example, the following identifier refers to the Orders Subform subform on the Orders form:
· You can use the Expression Builder to create an identifier for a form, report, subform, or subreport.
· When you run a macro or Visual Basic for Applications code containing an expression that refers to a form or report, the form or report must be open.
For more information on creating an expression using the Expression Builder, click .
For more information on using identifiers in expressions, click .
For information on referring to the value of a control or property in an expression, click .