open form / close form

A

alex

I have a command button on form A that takes me to form B.

I want form A to close upon the execution of form B opening.

In the on click event: If I add DoCmd.Close before B opens, I can,
for only a moment, see the switchboard before form B opens. If I add
DoCmd.Close after B opens, the command closes B.

How can I close form A after Form B opens. Instead of DoCmd.Close,
I'm assuming I need to close form A by name. Any help would be
appreciated.

alex
 
Top