TOT(0 seems broke

George flowersoft at compuserve.com
Tue Mar 6 23:03:28 PST 2007


-----Original Message-----
From: filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com
[mailto:filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com]
On Behalf Of garyolman at bellsouth
Sent: Tuesday, March 06, 2007 10:10 PM
To: Fplist
Subject: TOT(0 seems broke

 
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
Gary

_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list

That code would not work.
You can just do:
ga(9,,g)=ga+43
and show *ga in your break section
or ga(9,.0)=ga+43
and show =ga in your break section
or
ga(9,,g)=tot(43)
end
To be honest using tot() is very confusing.  Ken once posted something on
this that made sense to me at the time, but every time I try to use it I run
into problems, so it is easier for me to keep track of the accumulating
totals myself.



More information about the Filepro-list mailing list