Default value

dawson321

Registered User.
Local time
Today, 07:14
Joined
Jun 6, 2010
Messages
29
hi,

i have a calculated feild on a report to add up material totals, but there are not always materials to add up.

I am wondering if it is possable to give this feild a default value of 0, as i am unable to figure out how to do it myself.

is it possable? if yes how can it be done?
 
When you say there is nothing to add up im assuming what your adding up is null values? If this is the case you could just wrap your calculation in an Nz() function and it would return zero if the sum was null.
 
How would I put the NZ() in as this is the calculation I have at the moment.

Nz(=Sum([Material Charges]))
 
Change

Nz(=Sum([Material Charges]))

to
=Sum(Nz([Material Charges],0))
 

Users who are viewing this thread

Back
Top Bottom