Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Reports when dividing by zero
Message
 
To
30/04/1997 14:11:27
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00030314
Message ID:
00030316
Views:
38
>To make a long story short, I traced the problem to the fact that I was dividing some numbers by zero, no big problem in the past, except maybe formatting. I could divide by zero in the command window, but not in a report.

I would suggest always protecting against a divide by zero error:

/ MAX(, 1)

Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform