By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,649 Members | 1,768 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,649 IT Pros & Developers. It's quick & easy.

2 Combo Box on main Form Filter 8 SubForm on TAB Control

P: 2
Hello All, I am new to this forum so I apologize if this quesiton was asked already. Although i did search but i couldn't find.

I have 2 combo boxes one unbound and the other bound they are on the main form. One (combo box) filters the other. I would like for both boxes to filter the subforms which by the way are on tab controls I have 8 pages. I am very new to vba, but I am trying to get a code that will filter whatever subform is visible based on both combo boxes even if one of the combo boxes does not have a value/text. The unbound combo box has an integer and the bound has text.

The main form is based off a table. The subforms are queries of the same table.

Please help I've been stuck for a week going on two weeks. Any help would be greatly appreciated.
Mar 26 '08 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 374
Hello All, I am new to this forum so I apologize if this quesiton was asked already. Although i did search but i couldn't find.

I have 2 combo boxes one unbound and the other bound they are on the main form. One (combo box) filters the other. I would like for both boxes to filter the subforms which by the way are on tab controls I have 8 pages. I am very new to vba, but I am trying to get a code that will filter whatever subform is visible based on both combo boxes even if one of the combo boxes does not have a value/text. The unbound combo box has an integer and the bound has text.

The main form is based off a table. The subforms are queries of the same table.

Please help I've been stuck for a week going on two weeks. Any help would be greatly appreciated.
can you please include any table structures as well as SQL Queries that you've written already.

Need to get a look as to how you've set this up.

Thanks,

Joe P.
Mar 29 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.