I have a report with table fields in the detail section. Depending on the data ranges shown there can be an A4 page of data or a page of 0's with a few figures here and there.
Can I easily stop the 0 printing and just leave it blank???
It's a report via the wizard, No events or anything out of the norm but it appears that anything in the data property which makes it start with an = causes the error to appear
I have tried IIF, FORMAT and others but always the same result hence the post. The field is Currency but tried the same on a Numeric field and still get #error#
Tried the above --- 1234 comes out
#,###0.00 puts the decimal on as 1234.00
Replace 1234 with 0 and you get a blank, just as I suspect you thought it would.
I do have the report as I want it but I had to use the OnFormat event to toggle the .Visible property if the value was 0. Not very elegant, and some 10" of code for each item in the Detail section.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.