Counting Null Values

G

Guest

I am compiling a statistical report that lists the number of clients in
certain categories... but some fields contain no data and DCount ignores
these fields. How can I get a count of how many records contain a Null Value
in a particular field?
 
G

Guest

Try this --
IIF([YourField] Is Null, 1, [YourField])

Put quotes around the one if [YourField] is datatype Text.
 
J

Jerry Porter

This will count the records in the table tblClients where the field
Category is null:

DCount("*","tblClients","Category Is Null")

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top