How do i create a parameter to use a combo box instead of just typing a value in my sql statement to run a report.
I know you can do it from a combo box on a form that the parameter in the sql statement point to but i just want to do this from the sql query itself.
This is the sql statement i have so far but i need the parameter as a combo box to select either Male, Female or Both
SELECT Contacts.*, Contacts.Gender
FROM Contacts
WHERE (((Contacts.Gender)=[Select Gender]));
I know you can do it from a combo box on a form that the parameter in the sql statement point to but i just want to do this from the sql query itself.
This is the sql statement i have so far but i need the parameter as a combo box to select either Male, Female or Both
SELECT Contacts.*, Contacts.Gender
FROM Contacts
WHERE (((Contacts.Gender)=[Select Gender]));