<!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">
Jeff Harrison wrote:
<blockquote cite="mid20060330140910.65570.qmail@web50707.mail.yahoo.com"
 type="cite">
  <pre wrap="">--- Jaime Perry <a class="moz-txt-link-rfc2396E" href="mailto:jaime@hoovercs.com">&lt;jaime@hoovercs.com&gt;</a> wrote:

  </pre>
  <pre wrap=""><!---->
The description of what you are trying to do is not
totally clear to me.  </pre>
</blockquote>
I know, it is not easy to explain. I retyped my initial post quite a
few times trying to get it to make sense.<br>
<br>
<blockquote cite="mid20060330140910.65570.qmail@web50707.mail.yahoo.com"
 type="cite">
  <pre wrap="">However, I believe that if you
want to use the @af in selection processing you need
to sort on the associated field, and associate that
sort with your output format.  The easiest way to do
that would be to just enter the associated field name
as the primary sort on the output format.

  </pre>
</blockquote>
I do have a sort built on the associated field.&nbsp; As far as I can tell,
this part is working fine.&nbsp; My problem is determining which instance of
a record I am processing as I process the records.&nbsp; If&nbsp; I have a record
with 5 associated elements, that record will (should) be in the index 5
times.&nbsp; If I turn the debugger on for that record only, the debugger
starts 5 times which is good.&nbsp; However, @af is always "1" so I cannot
tell if it is the first, second, whatever time I am hitting that
record.&nbsp; I would expect @af to be "1" the first time I encounter the
record, "2" for the second, etc through the end.&nbsp; If it did that, I can
just use an array and say jobnumber[@af] and be golden.<br>
<br>
<br>
</body>
</html>