D & R reprot difference

Rod Caddy rcaddy at pro-set.com
Mon Sep 20 05:50:12 PDT 2004


On Sun, 19 Sep 2004 21:08:57 -0400, Kenneth Brody wrote:
> 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
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list

Not saying that you have done this, make sure that you have saved your table to be used by rreport.  Many times I have worked on processing and then failed to tokenize it.  Just another one of my loveable faults. ;~)


Rod Caddy
Pro-Set Systems	
rcaddy at pro-set.com
http://www.pro-set.com
http://www.towtruck2000.com



More information about the Filepro-list mailing list