A2010 Navigation Form question -
03-14-2011
, 10:34 AM
Using VBA, not a web based database for this test.
I created form Form1 with a button to open NavForm2, another to open
Form2, another to close Form2.
I created Form2 with a button to open Form3 and another button to close
form2.
I created Form3 with a button to close the form.
I created Form4 with a command button to close the form.
I then created NavForm1 and dragged Form1 and Form2 to it.
I created NavForm2 and dragged Form4 to it.
I then open NavForm1. This puts a tab at the top of the window for
NavForm1. If I select the button to open Form2, I now have two tabs
(windows) displayed for that, If I click on NavForm1 to open Form3 I
now have 3 tabs (windows); NavForm1, Form2, and Form3.
If I select the tab (window) Form2 and press the button to open Form3.
Now if I select Form2 from the window tab and press the button to open
Form3 it does not create a new instance of Form3, it displays Form3 and
makes that the selected tab (window).
If I select NavForm1 and press the button to open NavForm2 then I now
have 4 window tabs at the top and NavForm2 is displayed.
My question is; how does one set focus to and display Form2 from
NavForm1 without opening up a new window? Can one add another tab for a
window to NavForm1 for Form3>
If I move to Form2 and press the Close button, it closes the entire
NavForm1 not just Form2 from the NavForm1 tabs. Can one hide/remove the
form from the NavForm tabs? |