Opening a Navigation Form on a different tab

Andy959

Board Regular
Joined
Dec 6, 2013
Messages
57
I have a MS Access navigation form that has tabs (cost, labor, etc) to cycle through different data. I open this form to display more details from another form with a standard button.

The new navigation form opens in a new pop up window. Can I tell the navigation form to open to a different tab? Right now it defaults to the first one, cost. I'd like to be able to specify which tab it opens depending on which tab the user clicked the button from.

Example...

Form 1 has tabs A, B, C, D, E
New navigation form has tabs 1, 2, 3, 4, 5

I have buttons on each tab in A, B, C, etc to open the new navigation form. If the user clicks the button from tab B, I'd like to new form to open in tab 2.

Possible?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Enough trial and error and I solved this. If anyone is looking for a similar function see the answer:

Use a macro on the command button to first Open the navigation form.
The second command of the macro will be the BrowseTo function. If the navigation form has sub forms, browseto a form, if it's sub report, change the object to a report. Enter the name of the object and the path will be "navigation form name.NavigationSubForm".
 
Upvote 0

Forum statistics

Threads
1,221,902
Messages
6,162,726
Members
451,782
Latest member
LizN

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top