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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Grand Total not working

Status
Not open for further replies.

BrazilTechie

Programmer
Nov 13, 2002
88
0
0
BR
Hey guys:

I am creating a report of dealers sales. On the Dealer Table has a field with a total for each month.
I am grouping my report by dealer and all is fine on the Dealer header where I simply use the following code to get the total for each dealer for the months of January and February for example:

=(IIf(IsNull([JAN]),0,([JAN]+(IIf(IsNull([FEB]),0,[FEB]))

What I am trying to do now is to get the grand total for all dealer on the report footer.

I've tried a few things but it has not been working.

Any hints?

Thanks in advance.

BrazilTechie
 
Consider using Nz() rather than the IIf(IsNull(...),...)
=Sum(Nz([JAN],0) + Nz([FEB],0))


Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top