Unwanted "open form"

G

Guest

When I close FormB I open FormA with an event procedure triggered by the
'Close' event of FormB. Works fine. The problem is that when I switch from
the View mode to the Desigh mode FormA opens as if I had closed FormB. How
do I prevent the unwanted opening. Will selecting a different event to
trigger the open fix the problem?? If so, shich one??

Steve
 
M

Marshall Barton

Steve said:
When I close FormB I open FormA with an event procedure triggered by the
'Close' event of FormB. Works fine. The problem is that when I switch from
the View mode to the Desigh mode FormA opens as if I had closed FormB. How
do I prevent the unwanted opening. Will selecting a different event to
trigger the open fix the problem?? If so, shich one??


I don't think there is any other event. The form's form
view really is closed so all the events associated with
closing will fire in both situations.
 

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

Top