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 / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Sub data lists

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
STemplar - 02 Jan 2008 22:49 GMT
I have created a combo box for a report. The combo box is Vehicle Make. I
would like to be able to choose a make, for example Ford and have another box
pop up with only Ford models. I currently have two combo boxes, one for
Vehicle Makes and one for Vehicle Models. Can anyone help? Thanks in advance.
John W. Vinson - 03 Jan 2008 00:49 GMT
>I have created a combo box for a report. The combo box is Vehicle Make. I
>would like to be able to choose a make, for example Ford and have another box
>pop up with only Ford models. I currently have two combo boxes, one for
>Vehicle Makes and one for Vehicle Models. Can anyone help? Thanks in advance.

This is a very common requirement, "Cascading Combos".

Base the Model combo box on a query referencing the Make combo box, basing it
on a query with a criterion such as

=[Forms]![YourFormName]![cboMake]

assuming cboMake is the name of the combo box (don't use blanks in control
names, it's a hassle).

You'll need to Requery the model combo in the afterupdate event of the Make
combo.

            John W. Vinson [MVP]
 
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.