<!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">
Ok, I think I get it now, BUT.....<br>
<br>
I commented out the&nbsp; sort1=un; sort2=jobs[@af]&amp;un; sort3=2 line and
set the first sort in the output processing to J1).&nbsp; That is now the
only sort defined.&nbsp; However, when I run the report using the same
selection I attached earlier (minus the above line), my test record
shows up 4 times (using debugger for employee 123) instead of the 2
times I would expect.&nbsp; The test record is below:<br>
<br>
&nbsp; EMPLOYEE#: 123<br>
<br>
&nbsp; DEPT&nbsp;&nbsp;&nbsp;&nbsp; JOB NO.&nbsp;&nbsp; COMP&nbsp;&nbsp;&nbsp; COST CODE&nbsp;&nbsp;&nbsp; RATE&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HOURS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EXTENSION<br>
&nbsp; 352D10&brvbar;&nbsp; 352000&brvbar;&nbsp; &nbsp; DE658&brvbar;&nbsp; &nbsp;&nbsp;&nbsp; 5200&brvbar; 000&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28.71&brvbar;&nbsp;&nbsp;&nbsp;&nbsp; R&brvbar;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp; 8.00&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 229.68&brvbar;<br>
&nbsp; 387D10&brvbar;&nbsp; 387000&brvbar;&nbsp;&nbsp;&nbsp; DE658&brvbar;&nbsp; &nbsp;&nbsp;&nbsp; 5200&brvbar; 000&brvbar; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; 28.71&brvbar;&nbsp; &nbsp;&nbsp;
R&brvbar;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8.00&brvbar;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 229.68&brvbar;<br>
<br>
As you can see, there are 2 instances of job number for this record.&nbsp; I
would therefore expect to hit this record twice not four times using my
index on job number (J1).&nbsp; Any thoughts on what would cause this?&nbsp; I
rebuilt the index... no difference.&nbsp; I deleted and rebuilt the index
with no difference.&nbsp; @af show instance 1 then 2 for the first 2 times
and then 1 and 2 again for the third and fourth times I hit the
record.&nbsp; I should be selecting 196 "records".&nbsp; Since I made the above
change, the process now selects 205 so I think this is happening on a
couple other records but not all.&nbsp; The process also seems to take a
couple seconds longer than it did before.<br>
<br>
Jaime Perry<br>
<br>
<br>
<br>
Kenneth Brody wrote:
<blockquote
 cite="mid20060330153910.5stdn0g488kwgcs8@webmail.spamcop.net"
 type="cite">
  <pre wrap="">Quoting Jaime Perry (Thu, 30 Mar 2006 15:16:11 -0500):

  </pre>
  <blockquote type="cite">
    <pre wrap="">I am still not sure what you mean by using just the first field.  I am
obviously missing something and I think you may be on the right track
but I am just missing what you mean.  I appreciate everyones help by the
way.

Let me give you as much info as I can:
    </pre>
  </blockquote>
  <pre wrap=""><!---->[...]
::sort1=un; sort2=jobs[@af]&amp;un; sort3=2:
[...]

Here you have told filePro not to sort on an associated field.

--
KenBrody at BestWeb dot net        spamtrap: <a class="moz-txt-link-rfc2396E" href="mailto:g8ymh8uf001@sneakemail.com">&lt;g8ymh8uf001@sneakemail.com&gt;</a>
<a class="moz-txt-link-freetext" href="http://www.hvcomputer.com">http://www.hvcomputer.com</a>
<a class="moz-txt-link-freetext" href="http://www.fileProPlus.com">http://www.fileProPlus.com</a>


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