D & R reprot difference

Charles Day dayone at bright.net
Sun Sep 19 13:29:08 PDT 2004


XP windows
5.0.13R9
5.0.13D9

I am trying to run a simple report totaling a field with a single "Iffer" and I
get a different total running same data with dreport and rreport?

two ways I have tried: ( @wgt is same in both instances)

One:
-----
If:
Then: qn(9,.0)=3
----
If: 2 lt  "100"
Then: qn=""
----
If:
Then: qo(9,.0)=qo+qn
----
If:
Then:end
----

Two:
------
If: 2 ge "100"
Then: qn(9,.0)=3;  qo(9,.0)=qo+qn
-------
If:
Then: end
-------

-------
@wgt  If:
        Then: to=tot(qo)
------

In both above using same exact record selection,  I get  19  as total using
rreport and I get  18  as the total using  dreport.     18 is the correct total.

Is this some kind of bug or what am I doing incorrectly in rreport code that is
corect in dreprot code?

Regards,
Charles Day



More information about the Filepro-list mailing list