I have Access 97 report. On text field it is calculating
from three fields sum numbers like 20/10+7 = 17 and converting into percentage because I set property format as percent.
If there is 0 it is 0/0 = 0% but instead of that it is giving error #Num! It is not printing 0%
If I want to write code in expression builder
If xfield = 0 then
? "None"
Else
= ([sumy]/[sumofy]+sumofN)
Endif
How can I write in Expression builder above code.I wrote in IIF function some have it is not working.
Please urgent.
from three fields sum numbers like 20/10+7 = 17 and converting into percentage because I set property format as percent.
If there is 0 it is 0/0 = 0% but instead of that it is giving error #Num! It is not printing 0%
If I want to write code in expression builder
If xfield = 0 then
? "None"
Else
= ([sumy]/[sumofy]+sumofN)
Endif
How can I write in Expression builder above code.I wrote in IIF function some have it is not working.
Please urgent.