Keeping combo boxes populated when switching between tabs within a form?

TotalRapture

New Member
Joined
Jun 30, 2017
Messages
15
Hi there! I have a form to search various tables depending on what tab the user has selected, however, once the search criteria has been input if the user switches tabs it clears the search criteria. The search, a series of combo boxes, is fixed and not embedded within the tabs, so I was wondering if there is a way for me to keep the search criteria populated when switching between to make for easier comparisons.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

jackd

Well-known Member
Joined
Oct 19, 2006
Messages
1,318
Office Version
  1. 365
I think we need to see some sample data to better understand the need. If the search is for various tables depending on what tab the user has selected, wouldn't that be a focused search. And when you change tabs, you'd be searching else/another table.
Perhaps you can record the search criteria in a variable and go back to it when needed, but readers need to know more about your search processes - in my view.
 

TotalRapture

New Member
Joined
Jun 30, 2017
Messages
15
No, you're absolutely correct. Thanks for reaching out! It looks like there was a function built as an event on tab change that was clearing them so I just had to go in there and change it. I thought it might've been built into MS-Access and thus had a setting.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,791
Messages
5,638,340
Members
417,021
Latest member
moon miner

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
Top