kidvegas19
Technical User
I can't seem to find an answer to this using a search, so I will post it (hopefully not 'again').
Created a parameter query that prompts for a date (for the date field of course) and prompts for a TYPE. The TYPE field can contain one of five letters, A,B,C,D,E. What I want to do is prompt for the date, and then at the TYPE prompt have the option of using a letter (records returned = that date, that letter) or all the records regardless of letter (records returned = all records for that date).
In query design in the TYPE field criteria cell I put [TYPE] and then in the OR cell I put [TYPE] Is Null. When I run the query, the date prompts first, then the TYPE. If I choose a TYPE, all is good. If I enter through the TYPE, all records in the database are returned regardless of the date.
Any quick and easy way of fixing this?
AHIA (All Help Is Appreciated)
kv
Created a parameter query that prompts for a date (for the date field of course) and prompts for a TYPE. The TYPE field can contain one of five letters, A,B,C,D,E. What I want to do is prompt for the date, and then at the TYPE prompt have the option of using a letter (records returned = that date, that letter) or all the records regardless of letter (records returned = all records for that date).
In query design in the TYPE field criteria cell I put [TYPE] and then in the OR cell I put [TYPE] Is Null. When I run the query, the date prompts first, then the TYPE. If I choose a TYPE, all is good. If I enter through the TYPE, all records in the database are returned regardless of the date.
Any quick and easy way of fixing this?
AHIA (All Help Is Appreciated)
kv