List Tables in a combo box

jl2509

Board Regular
Joined
Oct 30, 2015
Messages
198
Office Version
  1. 365
Platform
  1. Windows
I would like to have some nested comboboxes on a form which perform as follows, and need some assistance in resolving if possible please.

I have 2 comboboxes

cboTablelist
I need to look up a list of specific table names, such as tblRefrigerator, tblCooker and tblFire etc
Each of these tables contain PK(ID) ProductDescription, Part Number, Warranty etc

cboProductList
The second combobox, displays the ProductDescription details from the contents of the specific table selected in cboTableList

The data selected here, would go into a subform



Is this possible

Thank you
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
The second combobox, displays the ProductDescription details from the contents of the specific table selected in cboTableList
If you are not using this combo box to make a selection that you will pass to a query or table update, or as a filter for a next-level combo box for example, then I'd say it is the wrong approach. I assume your first combo gets a list of table names from a table ("I need to look up..."), or you have created a value list for it. To me, once the selection is made, the product description details (and whatever other details) is what goes into the subform, not another combo box. Sometimes it makes sense to populate a textbox after a combo selection, but not another combo.
 
Upvote 0

Forum statistics

Threads
1,221,831
Messages
6,162,242
Members
451,756
Latest member
tommyw

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