Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different sums
Message
De
08/10/1998 14:56:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00145154
Message ID:
00145168
Vues:
43
>>When I am in the report designer (deposit.frx) and preview the report, my totals at the bottom of the report are accurate. But when I "REPORT FORM deposit PREVIEW" in the click method of a button, the total is off by $.01.
>>
>>This is consistantly this way with the same set of data. With a different set of data, the totals are identical.
>>
>>Any ideas?
>>
>>TIA
>
>Bill,
>
>Are you using ROUND() on the detail lines and then summing the rounded values?

Nope: I was summing val(strtran(dbf.field,',')), but I changed dbf.field to a numeric value and the problem seems to have gone away (knock on wood).
Bill Morris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform