Expression Builder?

G

Greta

Access 2002...
What's the best way to get the total of "Not Null"s in a
bunch of items in a form?
The idea is that some of the items in one of the columns
will be "Fail"...I need a box at the bottom of the column
that tells me the total of "Fail"s. It will be blank if
the test doesn't fail.
Thanks,
Greta
 
J

John Viescas

One solution:

=Abs(DSum(Not IsNull([MyColumn])))

--
John Viescas, author
"Microsoft Office Access 2003 Inside Out" (coming soon)
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
http://www.viescas.com/
(Microsoft Access MVP since 1993)
 

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