Associated fields question
Jaime Perry
jaime at hoovercs.com
Thu Mar 30 06:30:13 PST 2006
Jeff Harrison wrote:
> --- Jaime Perry <jaime at hoovercs.com> wrote:
>
>
>
> The description of what you are trying to do is not
> totally clear to me.
I know, it is not easy to explain. I retyped my initial post quite a few
times trying to get it to make sense.
> 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.
>
>
I do have a sort built on the associated field. As far as I can tell,
this part is working fine. My problem is determining which instance of
a record I am processing as I process the records. If I have a record
with 5 associated elements, that record will (should) be in the index 5
times. If I turn the debugger on for that record only, the debugger
starts 5 times which is good. However, @af is always "1" so I cannot
tell if it is the first, second, whatever time I am hitting that
record. I would expect @af to be "1" the first time I encounter the
record, "2" for the second, etc through the end. If it did that, I can
just use an array and say jobnumber[@af] and be golden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20060330/fce3b4dc/attachment.html
More information about the Filepro-list
mailing list