Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Totals in Report do not show for some records

Status
Not open for further replies.

gmurrie99

Technical User
Jan 3, 2006
10
US
I have a report that calculates a total for all jobs by job. When a value is null (or maybe even negative??) the total fails to show a value. When all the numbers in the total are available, the number is calculated correctly.

I have checked the values that would go into that total, and a valid number is calculated in the subreports.
 
Thanks for the help, I was on a similiar track using IIf.

Like this:

=IIf(IsNull([Sum Of matcost]),0,[Sum Of matcost]))

Which I then changed to:

=NZ([Sum Of matcost],0)

While testing this functionality, I noticed a troubling thing:

Neither returns the same value as the total already calculated!

In other words, if =[Sum Of matcost]*1.15 returns $600.00

=NZ([Sum Of matcost],0) returns $563.79

What is the deal?????
 
Never mind, I'm an idiot. Forgot to add the markup,

=NZ([Sum Of matcost]*1.15),0)


Thanks for your help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top