Problem with sub-total breaks on a report
Kenneth Brody
kenbrody at spamcop.net
Tue Apr 14 09:25:22 PDT 2009
Boaz Bezborodko wrote:
[...]
> I use a global variable 'cl(12,,2,g)' that gets set to zero for each new
> sales rep. In the customer sub-totals I add the commission amount to cl.
> When I step through the debugger cl is correct on the customer
> sub-total, but when I look at it on the sales rep sub-total break the
> amount is not the same and I can't figure out where it came from.
Can you give us an actual example?
[...]
> In @wbrk2 I have
> ? If:
> Then: ch(10,,2)=cg*ca/"100" ; cl=cl+ch
> The very first line of code checks if it is on a new sales rep and, if
> so, sets cl(12,,2,g)=""
>
> What am I missing?
You have an error on line 42.
http://www.google.com/search?q=wikipedia+"error+on+line+42"
--
Kenneth Brody
More information about the Filepro-list
mailing list