Hmm, I haven't used the query wizard for some time. I'd guess you need to check the spelling of your tables and fields. Also if you have spaces and weird characters I'd recommend not doing that.
Otherwise, I created a simple table named tblFoods (the numbers are for example, I have no idea what calories would be appropriate).
<TABLE border=1 cellSpacing=0 bgColor=#ffffff>
<CAPTION>tblFoods</CAPTION><THEAD><TR><TH bgColor=#c0c0c0 borderColor=#000000>
FoodID</TH><TH bgColor=#c0c0c0 borderColor=#000000>
FoodName</TH><TH bgColor=#c0c0c0 borderColor=#000000>
FoodType</TH><TH bgColor=#c0c0c0 borderColor=#000000>
Calories</TH></TR></THEAD><TBODY><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
1</TD><TD borderColor=#c0c0c0>
None</TD><TD borderColor=#c0c0c0>
Protein</TD><TD borderColor=#c0c0c0 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
2</TD><TD borderColor=#c0c0c0>
None</TD><TD borderColor=#c0c0c0>
Grain</TD><TD borderColor=#c0c0c0 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
3</TD><TD borderColor=#c0c0c0>
None</TD><TD borderColor=#c0c0c0>
Vegetable</TD><TD borderColor=#c0c0c0 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
4</TD><TD borderColor=#c0c0c0>
None</TD><TD borderColor=#c0c0c0>
Fruit</TD><TD borderColor=#c0c0c0 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
5</TD><TD borderColor=#c0c0c0>
None</TD><TD borderColor=#c0c0c0>
Milk</TD><TD borderColor=#c0c0c0 align=right>
0</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
6</TD><TD borderColor=#c0c0c0>
Pork</TD><TD borderColor=#c0c0c0>
Protein</TD><TD borderColor=#c0c0c0 align=right>
10</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
7</TD><TD borderColor=#c0c0c0>
Bread</TD><TD borderColor=#c0c0c0>
Grain</TD><TD borderColor=#c0c0c0 align=right>
20</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
8</TD><TD borderColor=#c0c0c0>
Carrot</TD><TD borderColor=#c0c0c0>
Vegetable</TD><TD borderColor=#c0c0c0 align=right>
30</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
9</TD><TD borderColor=#c0c0c0>
Apple</TD><TD borderColor=#c0c0c0>
Fruit</TD><TD borderColor=#c0c0c0 align=right>
40</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
10</TD><TD borderColor=#c0c0c0>
Milk</TD><TD borderColor=#c0c0c0>
Milk</TD><TD borderColor=#c0c0c0 align=right>
50</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
11</TD><TD borderColor=#c0c0c0>
Beef</TD><TD borderColor=#c0c0c0>
Protein</TD><TD borderColor=#c0c0c0 align=right>
5</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
12</TD><TD borderColor=#c0c0c0>
Cereal</TD><TD borderColor=#c0c0c0>
Grain</TD><TD borderColor=#c0c0c0 align=right>
10</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
13</TD><TD borderColor=#c0c0c0>
Artichoke</TD><TD borderColor=#c0c0c0>
Vegetable</TD><TD borderColor=#c0c0c0 align=right>
15</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
14</TD><TD borderColor=#c0c0c0>
Grapes</TD><TD borderColor=#c0c0c0>
Fruit</TD><TD borderColor=#c0c0c0 align=right>
20</TD></TR><TR vAlign=top><TD borderColor=#c0c0c0 align=right>
15</TD><TD borderColor=#c0c0c0>
Cheese</TD><TD borderColor=#c0c0c0>
Milk</TD><TD borderColor=#c0c0c0 align=right>
25</TD></TR></TBODY><TFOOT></TFOOT></TABLE>
I also created five queries like this, each with a different FoodType named qryFruit, qryMilk, etc
Code:
SELECT tblFoods.*
FROM tblFoods
WHERE (((tblFoods.FoodType)="Fruit"));
Then this query returns combinations of foods within the set parameters.
Code:
SELECT qryFruit.FoodName, qryFruit.FoodType, qryFruit.Calories, qryGrain.FoodName, qryGrain.FoodType, qryGrain.Calories, qryMilk.FoodName, qryMilk.FoodType, qryMilk.Calories, qryProtein.FoodName, qryProtein.FoodType, qryProtein.Calories, qryVegetable.FoodName, qryVegetable.FoodType, qryVegetable.Calories, [qryProtein].[Calories]+[qryGrain].[Calories]+[qryVegetable].[Calories]+[qryFruit].[Calories]+[qryMilk].[Calories] AS TotalCalories
FROM qryFruit, qryGrain, qryMilk, qryProtein, qryVegetable
WHERE ((([qryProtein].[Calories]+[qryGrain].[Calories]+[qryVegetable].[Calories]+[qryFruit].[Calories]+[qryMilk].[Calories])>110 And ([qryProtein].[Calories]+[qryGrain].[Calories]+[qryVegetable].[Calories]+[qryFruit].[Calories]+[qryMilk].[Calories])<140));
If you are still having problems with the wizard, just create the queries from scratch. Open a fresh, new query and go in to SQL view. Paste the above SQL and change as appropriate.
hth,
Rich