@wgt issues
Kenneth Brody
kenbrody at bestweb.net
Mon Apr 18 06:59:59 PDT 2005
Quoting Jeff Harrison (Mon, 18 Apr 2005 06:20:42 -0700 (PDT)):
>
> --- "J. Ryan Kelley"
> <ryan.kelley at trinitytransport.com> wrote:
> > I'm in the process of writing a report with several
> > dummy variables.
[...]
> [snip]
>
> Filepro's report mechanism can get in the way if you
> try to keep track of totals manually. I would suggest
> that you instead use the "tot" command.
>
> Near the top of your code, before any of the @wbrk
> processing just have the calculation for the values as
> follows:
>
> ja(12,.2)=tot(3) ' gross sales
> jb(12,.2)=tot(3-4) ' gross profit
> end ' end processing
>
> (This would assume that field 3 would be your gross
> sales and field 4 whould be your expenses)
>
> If you do it this way then ja and jb will
> automatically have the correct values when it reaches
> the @wbrk processing.
[...]
This code
ja(12,.2) = ja + 3
jb(12,.2) = jb + 3-4
will give you the same thing.
However, since we haven't seen the OP's code, we can only guess as to
where the problem lies.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list