I can’t design my query to work. I think it’s because MeetingLocation is an optional field in my table and the query doesn’t show the empty Meeting Location values. I want to design a query that needs to show the IsNull MeetingLocation values in between dates. How do I get IsNull values to show up in the dates that I want?
See below:
Table Fields:
MeetingLocation (optional), MeetingDate(mandatory), PersonID (mandatory)
Search Form:
-MeetingLocation
-From Date
-To Date
-PersonID
------
The user enters some values in the search form...
Logic of my query:
- If meeting location and dates are blank then show all values in table.
- If only From Date and To Date have search form values then show all records in table between From Date and To Date.
- If only Meeting Location has search form value then show all records in table in that Meeting Location.
- If all the search form has values then show all records in that table in Meeting Location between From Date and To Date.