Halting code when going to design view

D

DubboPete

Hello all,

I suppose like most here, when I close a particular form, it then
loads the previous form from which the particular form was called.

What I am trying to do is halt the previous form re-loading if I
decide to go straight to design mode.

I guess it would look like this a bit:

If ... "I go to design mode" ... then
halt forms!previousform.visible = true
else
forms!previousform.visible = true
end if

and I was wondering if there is any way of coding this in...

thanks in anticipation

DubboPete
 
R

Rockn

Closing a form should not call the previous form unless you have some code
in the background telling it to do so or if the form is a popup or modal.
 
Top