Basing combo boxes on 5 successive boxes

L

liz25mc

Hello,
I am trying to create a form with 5 combo boxes with each combo box being
based on the one before it.
For instance Combo1 is populated with a choice of 1, 2, 3. Choosing 1 will
populate Combo2.
Combo2 will be populated with 11, 12, 13 (although the choice is larger only
these numbers will populate into Combo2 based on the choice in Combo1)
Choosing 11 in Combo2 will populate Combo3 with 111,112,113
And so on.
I can get the boxes to populate correctly from Combo1 to Combo2 based on the
choices, but Combo3 etc. populate with all the choices, not just limited to
what is available based on the choice on Combo2.
Any help would be appreciated.

I am using unbound combo boxes and row source per instructions on the
Microsoft Website at:
http://office.microsoft.com/en-us/access/HA011730581033.aspx?pid=CL100570041033

Thanks in Advance.
 
U

Uncle Gizmo

It is possible to have the arrangement you describe, often referred to
as cascading combo boxes. The example you have given would need
several tables one for each combo box, with a column in the table
restricting the range of values shown in the combo box. I am unclear
as to the whether this is actually what you want, or whether the
numbers given are just for example purposes? It would be better to
clear this point up before answering the question any further.
 
L

liz25mc

The data I provided is not the "actual" data, but the idea of what I want to
do.
I have a separate table created for each combo box and each table has the
data for that combo box PLUS the field from the previous box.
So in my example Table2 would contain the table2 field for ComboBox2 PLUS
the Table3 field for ComboBox3. The same would "cascade" down for all the
Tables.
Hope this helps!
Thanks.
Liz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top