Return to previous form

A

Art

Hi Rob,
Absolutely. Using the command button wizard you can
create a button on your form that will close the form
exposing the previous form behind it. If the previous form
is closed or not visible, it is easy to put a line of vba
code into the Close Event of your form to both close the
form and open or make visible the previous one.

Hope This Helps
-----Original Message-----
Is there a way to return to the previous form that was
open from the form that's currently open, similar to the
Back button on internet browsers?
 
E

Ed Powell

One way I do a "return to last form" when there are more
than one possible paths to the current form is to place a
hidden textbox on the form and direct whichever previous
form that sent me there to poke a number into that
control. Then I have a command button with a back arrow as
a control that checks that textbox and opens whichever
form it was that poked in the number. "If textback = 1
then......else if textback = 2 then.....and so on.
 

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