select query?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to come up with a way that from a drop down list when the user makes a
selection, the next drop down list, lists only a group of choices that can be
picked.
For example the first drop down list has:
HP
Tektronix
TI
The second drop down list looks at a table that has the following data:
1
2
3
4
5
6
7
8
9
When I select Tektronix from the first drop down list, the second drop down
list will display only:
3
5
7
8
Now the user can select one of the 4 choices given.

Thanks,
Joe...
 
One way in this link
http://www.databasedev.co.uk/filter_combo_boxes.html

Another way is to create a criteria in the second combo that refer to the
first combo.
The RowSource of the second combo will look like
Select FieldName From TableName Where Field2Name =
Forms![FormName]![Combo1Name]

On the After update event of the first combo you need to refresh combo 2
Me.[Combo2name].Requery
 
Back
Top