Zero value in query

H

hermie

From my table with only checkboxes I created a query and crosstab query. Now
I want to see also the 0 values Is this posisble? Now the fields are blank

Herman
 
J

John Viescas

The values are blank because there are no matching records at the particular
row/column heading combination. You can generate a zero by using the NZ
function. For example, if you're summing a column called Quantity, you can
change the Field to this expression:

Qty: NZ([Quantity, 0])

--
John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"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