Kevin Field
Registered User.
- Local time
- Today, 14:25
- Joined
- May 26, 2010
- Messages
- 35
Hi all,
Quick one i hope.
I have a text box in my report which provides a percentage figure of two other text boxes. The text box control is set to this:
=[text77]/[text88]
Also, the format is set to percentage.
This all works amazingly if there is data. However, if there is none it prints:
#Num!
I know this is obviously because it cant provide the figure due to lack of data.
However, i want the box report to show a - symbol or something similar if this is the case. But if the data is there i still want to show the correct percentage.
I know i need an IIf statement but i seriously cant work it out.
Any help?
Thanks!
Quick one i hope.
I have a text box in my report which provides a percentage figure of two other text boxes. The text box control is set to this:
=[text77]/[text88]
Also, the format is set to percentage.
This all works amazingly if there is data. However, if there is none it prints:
#Num!
I know this is obviously because it cant provide the figure due to lack of data.
However, i want the box report to show a - symbol or something similar if this is the case. But if the data is there i still want to show the correct percentage.
I know i need an IIf statement but i seriously cant work it out.
Any help?
Thanks!