Criteria: >9 and a non null value in another field

Mousewrites

New Member
Joined
Jul 13, 2004
Messages
16
Not sure how to get my query to return the numbers I want.

What I want it to do is look to see how many days it has been since the bug has been corrected, and then return values that are 10 days or over. But I also need it to disregard bugs that have been verified (any date in the 'verified' field).


Currently I have a query that has the Bug ID as one field, and the other contains this expression "Expr1: DateDiff("d",[tblBugs]![dtmDateCorrected],Now())" with the criteria >9.

Where and how do I get it to check if their is a non null value in the verified feild?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Might be as simple as the criteria

Not IsNull

From your description, dropping this line in the criteria (QBE Design mode) under the field for dtmDateCorrected will handle it.

If you look at your query in SQL View, you'll see two conditions listed after the WHERE parameter connected by an AND.

Mike
 
Upvote 0

Forum statistics

Threads
1,221,798
Messages
6,162,027
Members
451,737
Latest member
MRASHLEY

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top