Question : multiple parameters in MS Access 2003

Have a qry pulling check information. I know how to set a parameter for a date range and a check#. Is there a way to set up the qry for a date range OR check#?  If so, how?

In other words, there may be time I just want to look at all checks within a range and other times I may want to look for a specific check# and don't care about the date. (And of course, there might be times when I know both a date and the check #.)

As always, TIA

Answer : multiple parameters in MS Access 2003

Here is one example:

SELECT Table2.*, Table2.MyDate, Table2.MyCheckNum
FROM Table2
WHERE (((Table2.MyDate) Between [Enter Start Date] And [Enter End Date])) OR (((Table2.MyCheckNum)=[Enter Check Number]));

mx
Random Solutions  
 
programming4us programming4us