Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using multiple date fields for Date Range query

Status
Not open for further replies.

glgcag

MIS
Apr 25, 2001
160
US
I have a query that I need to add a date range criteria to. Here is how the criteria goes: if there is a date in the "DealMemoDate" field use it as criteria, if not, check the "PrelimReceived" field for a date and use it- if no date, check the "ContractFullyExecuted" field- if no date, skip the record altogether.

I appreciate the help!
 
in the access QBE grid just type not null in the criteria under the first field then drop down a line and put it under the next field and down 1 more line under the next field

SQL will read
where([DealMemoDate])IS NOT Null or ([PrelimReceived])IS NOT Null or ([ContractFullyExecuted])IS NOT Null
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top