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

Access Data base Report question

Status
Not open for further replies.

dreadnaught

Technical User
Aug 1, 2001
59
0
0
US
I am running a report with a calculation. At some points in time the report divides by zero. This causes and #Error to appear in the report. I am trying to figure out how to get ride of the error. I tried an if statement but it did not work. With the error in the report Access will not allow me to download the report to an excel file which is my ultimate goal. Can anyone help?
 
dreadnaught

I don't know about access too much but in excel you can use
IF(ISERROR(whatever the calculation is),0,whatever the calculation is)
maybe there is something like that in access
 
Hi Dreadnaught,
Use the Nz-function (no zero's) in your calculated control, like i did below

Code:
=Nz([pd_total in $])+Nz([wharf total in $])
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top