<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Steve Wiltsie wrote:
<blockquote
cite="mid:C1306CAEC590A24491AC9B995F1596C907491E@server1.microconcepts.micro-mui.local"
type="cite">
<pre wrap="">Boaz,
In the Automatic table, does is cl set as (12,,2,g) or (12,2,g)?
Steve Wiltsie
microCONCEPTS
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:filepro-list-bounces+swiltsie=micro-mui.com@lists.celestial.com">filepro-list-bounces+swiltsie=micro-mui.com@lists.celestial.com</a>
[<a class="moz-txt-link-freetext" href="mailto:filepro-list-bounces+swiltsie=micro-mui.com@lists.celestial.com">mailto:filepro-list-bounces+swiltsie=micro-mui.com@lists.celestial.com</a>]
On Behalf Of Boaz Bezborodko
Sent: Tuesday, April 14, 2009 11:45 AM
To: Kenneth Brody
Cc: <a class="moz-txt-link-abbreviated" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a>
Subject: [SPAM] - Re: Problem with sub-total breaks on a report - Found
word(s) list error in the Text body
Kenneth Brody wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Boaz Bezborodko wrote:
[...]
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">to cl. When I step through the debugger cl is correct on the customer
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">sub-total, but when I look at it on the sales rep sub-total break the
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">amount is not the same and I can't figure out where it came from.
</pre>
</blockquote>
<pre wrap="">Can you give us an actual example?
[...]
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">You have an error on line 42.
<a class="moz-txt-link-freetext" href="http://www.google.com/search?q=wikipedia+">http://www.google.com/search?q=wikipedia+</a>"error+on+line+42"
</pre>
</blockquote>
<pre wrap=""><!---->When going through the data before hitting any of the breaks cl="".
Once the first break point is hit it should equal '0' until given the
value of ch which in my sample data is "62.32". But it only shows this
when in the @wbrk routine. Once it starts going through the data lines
again cl shows up as '/d0'. When it gets to @wbrk2 again it shows as
"62.32" until a new ch gets added, in this case a value of '248.73' and
'cl' then correctly shows a value of '311.05'. At that point it hits
@wbrk3 and the value shows '396.49' for no particular reason that I can
find. There is no '396.49' anywhere in the data set I'm working with.
I did find that I could get 'cl' to hold the right data if I put it in
AUTO processing. But I'm trying to find out what FP is doing otherwise.
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
It was (12,,2,g). When I put cl(12,,2,g) into the Automatic table it
worked. When it wasn't there I had the problems listed.
</body>
</html>