<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
There are no indexes on the associated fields.&nbsp; <br>
The entire selection part of the routine looks like this<br>
38&nbsp; -------&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp;
-&nbsp;&nbsp; -<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9668; If: 20 ge ba and 20 le bb and aa="" and 19 ne "AD"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Then: SELECT<br>
(The associate fields are 41 through 50.)<br>
<br>
I removed the indexing commands to sped up the selection and go through
the entire file, but that doesn't change anything.&nbsp; I go through it
with "debug" and verify that the record is being selected and even that
the record is being processed during the output processing and that
this happens on the associated record.&nbsp; (I used a break condition on
the specific field equaling the data that I was looking for and it
stopped there and I verified that this was the correct record.&nbsp; There
is nothing in the output processing that would drop any record.)&nbsp; But
the data is not printed and totals don't include it.<br>
<br>
This is really bothering me because I can't find anything in my
processing which would cause the problem. <br>
<br>
Boaz<br>
<br>
<br>
Jeff Harrison wrote:
<blockquote cite="mid:416656.4637.qm@web50706.mail.re2.yahoo.com"
 type="cite">
  <pre wrap="">--- Boaz Bezborodko <a class="moz-txt-link-rfc2396E" href="mailto:boaz@mirrotek.com">&lt;boaz@mirrotek.com&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm having trouble with a report.  I'm re-running an
accounting report 
that someone ran a week and a half ago, but I'm
getting a strange 
result.  One of the items in an associated field is
not being printed.

Each record can store a few GL numbers in associated
fields A1.  The 
report selects the records by invoice date and sorts
them by A1.  The 
report that was run over a week ago seems to have
everything correct, 
but the report I'm running today has the associated
field missing on 
just one record.  Other records with associated
fields print out properly.

I have the exact same problem with 3 other records
that are exactly the 
same in different months.  (They are monthly
insurance payments 
allocated to two different GL #s.)  For some reason
the second 
associated field on them also don't appear on the
reports for their 
respective months. 

The records haven't been touched in between the runs
and the only change 
was indexing the selection to speed it up.  But the
records are 
definitely getting selected since the first
associated field appears on 
the file.  And the report is definitely printing
associated fields since 
other records with entries in the multiple
associated fields are 
displaying correctly.

What is causing this and how do I fix it?

Boaz
_______________________________________________
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Hi Boaz.  It is hard to answer this question without
knowing the specifics of exactly what you are doing
for sort/selection.  What does the -v table look like,
what do the sort fields look like on the report?  What
auto indexes do you have?  What does the selection
table look like?

A telling statement of yours was:
...
  </pre>
  <blockquote type="cite">
    <pre wrap="">and the only change 
was indexing the selection to speed it up. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Can you give more specifics here?

Jeff Harrison
<a class="moz-txt-link-abbreviated" href="mailto:jeffaharrison@yahoo.com">jeffaharrison@yahoo.com</a>

Author of JHExport and JHImport.  The fastest and
easiest ways to generate filepro exports and imports



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  <a class="moz-txt-link-freetext" href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a> 


  </pre>
</blockquote>
</body>
</html>