Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Urgent Crystal Question!!!
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Urgent Crystal Question!!!
Miscellaneous
Thread ID:
00615555
Message ID:
00615555
Views:
53
I have 2 Running Total fields used in a Formula field:


iif({#t_Group2_Total_Calls} > 0 and {#t_Group2_Total_Orders} > 0, round(({#t_Group2_Total_Orders}/{#t_Group2_Total_Calls})*100,0),0)


I'm getting a 'Devision By Zero' error. According to this syntax, this
should not be happing.

The first part if the IIF() checks to see if BOTH totals are greater
than zero, if IF the are, then devides one by another, otherwise
returns zero.

I can't seem to figure this out. It shouldn't be happening. Anyone know
what to do here?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform