Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / February 2007

Tip: Looking for answers? Try searching our database.

Basing combo boxes on 5 successive boxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
liz25mc - 08 Feb 2007 21:06 GMT
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.
Uncle Gizmo - 09 Feb 2007 00:54 GMT
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.
liz25mc - 09 Feb 2007 13:52 GMT
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

> It is possible to have the arrangement you describe, often referred to
> as cascading combo boxes. The example you have given would need
[quoted text clipped - 3 lines]
> numbers given are just for example purposes?  It would be better to
> clear this point up before answering the question any further.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.