<br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 11:21 AM, Kenneth Brody <span dir="ltr">&lt;<a href="mailto:kenbrody@spamcop.net" target="_blank">kenbrody@spamcop.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In answer to the recent &quot;rreport vs. dreport&quot; thread, along with the &quot;I&#39;ve<br>
been using filePro for ${BIGNUM} years, and I&#39;ve never run into this before&quot;<br>
comments...<br>
<br>
I hope this clears things up.<br>
<br>
======<br>
<br>
Short answer:<br>
<br>
If you want a &quot;blanket rule&quot;, it would be &quot;you *should* compile the output<br>
processing with the same &#39;-y&#39; table as you will run it with -- however, in<br>
nearly all cases, the difference in compilation will have no effect on<br>
filePro during runtime&quot;.<br>
<br>
But, in those few cases where it *does* have an effect, that effect will<br>
cause the report to fail to run properly if not compiled properly<br>
<br>
======<br>
<br>
Long answer:<br>
<br>
The difference has to do with the &quot;multi-level copies&quot; of dummy fields,<br>
which allows you to use a single dummy field to hold multiple subtotal<br>
values.  (See my article in Smalltalk #9.3 pp7-11, &quot;Output Processing:<br>
Subtotals, Dummy Fields, Aliases and Arrays&quot; for more details if you are<br>
unfamiliar with this feature.)<br>
<br>
Specifically, it has to do with whether the dummy field you are using to do<br>
such subtotalling is defined in automatic processing, but not in the &quot;-y&quot;<br>
override.  And, whether you use that field to accumulate a value without<br>
having executed an explicit assignment to that field.<br>
<br>
For example:<br>
<br>
     aa = aa + ytd_sales<br>
<br>
without executing something like:<br>
<br>
     aa = &quot;&quot;<br>
or<br>
     aa = some_value<br>
<br>
IF you are using a dummy field for multi-level subtotalling,<br>
<br>
AND IF you accumulate a value into that dummy field without an explicit<br>
assignment,<br>
<br>
AND IF you are running rreport with a &quot;-y&quot; table that does not define that<br>
dummy field,<br>
<br>
AND IF your default &quot;automatic&quot; processing table does define that dummy field,<br>
<br>
AND IF you compile the output table without the corresponding &quot;-y&quot; (or you<br>
do use a &quot;-y&quot;, but that table also does not define that dummy field),<br>
<br>
THEN, the output may not run correctly.<br>
<br>
======<br>
<br>
But, as I said above, the rule of thumb is that you &quot;should&quot; compile it with<br>
the corresponding &quot;-y&quot;, even though probably &gt;99% of the time it&#39;s not going<br>
to make a difference (as noted by the &quot;I&#39;ve never run into this in all my<br>
years of programming filePro&quot; comments), because that one time it does<br>
matter, it matters big.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Kenneth Brody<br>
_______________________________________________<br>
Filepro-list mailing list<br>
<a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
Subscribe/Unsubscribe/Subscription Changes<br>
<a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a></font></span></blockquote><div><br>In short, the above is NOT the case with the very example I sent to fptech, they still have the files, so that can be verified. <br>

<br>I&#39;m done on this subject, I&#39;ve resigned myself to the fact that I 
now have go through all my menus and find out which of my 5,243 
processing tables have to be recompiled with an alternate processing 
table.<br>
<br>We&#39;re in the middle of writing a version control library for our 
filePro processes, and will modify that to include which auto process is
 to be compiled with every output process that is checked in/out and 
will issue a  system command to compile both on check-in.<br>
<br>One would have thought that if this was a requirement of rreport, 
that when using rcabe, upon asking the question &quot;Do you wish to create a
 Runtime table?&quot; that rcabe would prompt for the associated automatic 
process with a default of auto, and compile that at the same time.<br>
<br>Like I said, I&#39;m done with this subject, we will put the measures into place ourselves. <br></div></div><br>