TOT(0 seems broke

Kenneth Brody kenbrody at bestweb.net
Wed Mar 7 05:24:46 PST 2007


Quoting garyolman at bellsouth (Tue, 6 Mar 2007 22:10:05 -0500):

> Here is the code:
>
>
> This is output processing
>
> Ga(9,,g)
> end
> @wbrk1: ga=Tot(43)
>
> I am expecting and hoping for the total of field 43 at the first break.
> What I get is the output of the last record seen

Which is exactly what you asked for.  You told filePro to keep a
running total of the last record in each break on the major sort
key.  What you want is a simple:

    ga(9,,g) = tot(43)

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