Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Reports when dividing by zero
Message
 
À
30/04/1997 14:11:27
Terry Seekins
Bell Laboratories, Inc.
Madison, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00030314
Message ID:
00030316
Vues:
36
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform