R
Ron
I have a table FoodItems with 2 Fields ItemName and FoodGroups. On my form I
want to have a combo Box show me all of the ItemName which are contained in a
specific FoodGroup.
For example I want to have all of the ItemName that are in the "Cereal &
Grain" FoodGroup. I did the following:
I Put: SELECT FoodItems.ItemName, FoodItems.FoodGroup FROM FoodItems WHERE
(((FoodItems.FoodGroup)="Cereal & Grains"));
in the Controlsource for the Combo Box. I put FoodItems in the RowSource,
and Table/Query in the RowSource Type.
Now #Name? shows up in the combo box. When I drop down the Combo Box all of
the FoodItems.ItemName show up.
What am I doing wrong??
TIA
want to have a combo Box show me all of the ItemName which are contained in a
specific FoodGroup.
For example I want to have all of the ItemName that are in the "Cereal &
Grain" FoodGroup. I did the following:
I Put: SELECT FoodItems.ItemName, FoodItems.FoodGroup FROM FoodItems WHERE
(((FoodItems.FoodGroup)="Cereal & Grains"));
in the Controlsource for the Combo Box. I put FoodItems in the RowSource,
and Table/Query in the RowSource Type.
Now #Name? shows up in the combo box. When I drop down the Combo Box all of
the FoodItems.ItemName show up.
What am I doing wrong??
TIA