Cross Tab Query Nulls

Darth Vodka

Registered User.
Local time
Today, 14:25
Joined
Sep 25, 2007
Messages
344
is there any way to make a cross tab query default to zero instead of nulls for unpopulated cells

i know i can Nz all the resultant fields, but it seems like treating the symptoms and not the cause...

:confused:
 
Deny null values in your tables. I would use Nz however.
 
Try using Nz(....)+0 in your crosstab query e.g.

TRANSFORM Nz(Sum([FieldName]))+0 AS SumOfFieldName

.
 
Try using Nz(....)+0 in your crosstab query e.g.

TRANSFORM Nz(Sum([FieldName]))+0 AS SumOfFieldName

.

didn't work

no matter, i have given the report the formatting

#,##0;(#,##0.00);0;\0

to deal with it

thanks anyways
 
aha...got it

sorry, i was doing every single combination of NZ, Sum and zero except the one that works

many thanks, that's very handy
 

Users who are viewing this thread

Back
Top Bottom