D
Danu
I have several calculated fields on a report which, in some instances, end up
being divided by 0. I use the following in the Control Source of each of the
fields:
=IIf([text18]=0,"0.0%",[text12]/[text18])
At the end of the report, not in the page footer, I need to add all these
fields, ex. =([text22]+[text24]+[text25]+[text26]+[text27]). Usually the
totals are correct and also in percentage format. The issue is when all the
Control Source = 0, the display looks like this:
0.0%0.0%0.0%0.0%0.0%
Is Access looking at the fields as text fields and just putting them
together? How can I get the field to display 0.0%?
Thank you.
being divided by 0. I use the following in the Control Source of each of the
fields:
=IIf([text18]=0,"0.0%",[text12]/[text18])
At the end of the report, not in the page footer, I need to add all these
fields, ex. =([text22]+[text24]+[text25]+[text26]+[text27]). Usually the
totals are correct and also in percentage format. The issue is when all the
Control Source = 0, the display looks like this:
0.0%0.0%0.0%0.0%0.0%
Is Access looking at the fields as text fields and just putting them
together? How can I get the field to display 0.0%?
Thank you.