Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop down lists [bigsmile]

Status
Not open for further replies.

soojosie

Programmer
Joined
Dec 22, 2002
Messages
21
Location
AU
Can anyone help me with a 2nd drop down list that looks up data from the first drop down list? e.g. lst list is Flower 2nd drop down box has list of flowers?
Thanks [bigsmile]
 
If your structure is that in your first list, you have a list of categories flowers, cars, foods, ect. and the second list you want to list all of that list

In the update event of the first list you have to add list2.rowsource= "select... where category='" & list2 & "';"
Single quotes only necessary when category is text
 
[tt]
Hi, Soo Josie BigSmile:

It would help too, if you would assign these properties to your 2nd "drop-down list" (combo box):

RowSourceType: Table/Query
RowSource: (empty)

For a complete description see Microsoft Knowledge Base Article - 209595 on [glasses] Gus Brunston, using Access2000 Intermediate skills.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top