D & R reprot difference
Kenneth Brody
kenbrody at bestweb.net
Sun Sep 19 18:08:57 PDT 2004
Quoting Charles Day <dayone at bright.net>:
> XP windows
> 5.0.13R9
> 5.0.13D9
[...]
> -----
> 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
Why move field 3 into qn, and then total qn? Why not just total
field 3?
> -------
> If:
> Then: end
> -------
>
> -------
> @wgt If:
> Then: to=tot(qo)
Note: The above line does nothing except store qo into to. (But,
since qo is already the total of qn, this happens to be what you
want.)
Also, note that the above can be simplified to:
If: 2 ge "100"
Then: qo(9,.0) = tot(3)
> ------
>
> 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.
What are the values of fields 2 and 3 for each record selected?
> Is this some kind of bug or what am I doing incorrectly in rreport code
> that is corect in dreprot code?
Are you overriding automatic processing on output? If so, is field
qn or qo defined in the default automatic, but not the one used at
output, or vice versa? Have you complied the output processing using
the same overridden automatic?
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.5starEbooks.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list