>>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