I have a combo box in a form based off of a query - qryUnassignedCampers
This query is an unmatched query to help me find unassigned participants in a program.
I use the following code on my combo box
SELECT qryUnassignedCampers.CamperID, [CamperLast] & ", " & [CamperFirst] AS Camper, qryUnassignedCampers.GenderID
FROM qryUnassignedCampers
WHERE (((qryUnassignedCampers.GenderID)=[Forms]![frmCabins]![GenderCombo]) AND ((qryUnassignedCampers.GradeID)>19))
ORDER BY [CamperLast] & ", " & [CamperFirst];
This allows me to get the unassigned participants of the correct gender and grade.
My problem is that it only shows one gender of participants (male) and will not show the other (female). Any idea why?
Thanks for your help
This query is an unmatched query to help me find unassigned participants in a program.
I use the following code on my combo box
SELECT qryUnassignedCampers.CamperID, [CamperLast] & ", " & [CamperFirst] AS Camper, qryUnassignedCampers.GenderID
FROM qryUnassignedCampers
WHERE (((qryUnassignedCampers.GenderID)=[Forms]![frmCabins]![GenderCombo]) AND ((qryUnassignedCampers.GradeID)>19))
ORDER BY [CamperLast] & ", " & [CamperFirst];
This allows me to get the unassigned participants of the correct gender and grade.
My problem is that it only shows one gender of participants (male) and will not show the other (female). Any idea why?
Thanks for your help