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!

Applying a Filter with CountRows

Status
Not open for further replies.

mckenneyj

MIS
Jun 1, 2002
96
I have a query for the report that returns 100 rows
2 Fields CaseNo CloseDate
Of the 100 rows only 32 have a CloseDate
Need to perform a count where CloseDate Not Null

Thanks,
John McKenney
Work Hard... Play Harder
 
Add a 3rd field to the query

isnull(Field2,1) as counter

then simply use "counter" as your count

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top