G
Guest
I've been trying to wrap my head around this one and am stuck.
I have a table with WorkDate and ShiftNum fields. I have a form that prompts
for the criteria. Query AND works fine. Now the fun part. I want to enter
just a date get the results for all shifts (or the shift with no date for all
dates). I entered these on seperate lines (in design view) to get the OR
which works when I leave one field empty however when I enter both a date and
shift I still get the OR's results included. When I enter both params I only
want the AND.
Any help would be appreciated.
I have a table with WorkDate and ShiftNum fields. I have a form that prompts
for the criteria. Query AND works fine. Now the fun part. I want to enter
just a date get the results for all shifts (or the shift with no date for all
dates). I entered these on seperate lines (in design view) to get the OR
which works when I leave one field empty however when I enter both a date and
shift I still get the OR's results included. When I enter both params I only
want the AND.
Any help would be appreciated.