GerryGoldberg
Technical User
- Apr 12, 2001
- 55
My query is:
SELECT * FROM tblA WHERE billMonth IN ('JAN-03','FEB-03','MAR-03')
I would like to be able to use a parameter query to replace the contents of the IN clause, but everything I try results in either an error, or selects no records. I have tried:
SELECT * FROM tblA WHERE billMonth [range]
where I entered "IN ('APR-03','MAY-03','JUN-03')"
I also tried:
SELECT * FROM tblA WHERE billMonth IN ([range])
where I entered " 'APR-03','MAY-03','JUN-03' "
Neither of these worked. What am I doing wrong?
Thanks,
Gerry Goldberg
SELECT * FROM tblA WHERE billMonth IN ('JAN-03','FEB-03','MAR-03')
I would like to be able to use a parameter query to replace the contents of the IN clause, but everything I try results in either an error, or selects no records. I have tried:
SELECT * FROM tblA WHERE billMonth [range]
where I entered "IN ('APR-03','MAY-03','JUN-03')"
I also tried:
SELECT * FROM tblA WHERE billMonth IN ([range])
where I entered " 'APR-03','MAY-03','JUN-03' "
Neither of these worked. What am I doing wrong?
Thanks,
Gerry Goldberg