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

#Num! error eliminiation

Status
Not open for further replies.

comprt

MIS
Dec 17, 2002
5
US
Hi,

I would like the value of my percentage calculation to display 0%, instead of #Num!, in my report. I'm sure there is an easy solution, but the web seems dearth of them.

Thanks for your help.

Azal
 
Hi

If the % is 0% it will display 0%, but if it is a calculated field and (say) one of the factors is null, or the divisor is 0, then you will get an error, you need to track down why the anser is not comming out as 0, the Nz() function might be useful in the solution. Nz() will convert a null value to another value, typically zero, so Nz(MyValue,0) Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top