Associated fields and @AF
Chad McWilliams
chad at computiprint.com
Thu Jun 23 06:53:01 PDT 2005
> Unless this is a very old version, you reference the associated field
> with a Letter and a number D0 to D9 where the old d) would be
> called d0)
> now. You do not have to change the map to have this work.
>
> if: d0 co "O" will match to the first and only the first d0
> that has a O
> as any part of it. If more than one d0 meets the criteria, this will
> never find it.
>
> Nancy
>
I was using d) due to what I read in STN's filePro Developers Reference that
stated A) is treated as A0).
Anyway, I switch everything over to D0), and it still doesn't work. While
it finds the records that have "O" in one of the associated fields, @AF
always returns 1. I've tried this on SCO *report 4.8.11D4 and FreeBSD
*report 5.0.13D4.
In my map I have two groups of associated fields: d0) and d1). I want to
find the code "O" in d0, and the corresponding value in d1) using @AF. The
way I understand it that if O is in the 3rd associated d0) field, then @AF=3
which I can use as an index to an array overlayed over the group of d1)
fields.
I had to resort to running through the group of fields manually to
accomplish this, but thought it should work the way I was originally trying.
Thanks for the info.
-Chad McWilliams
More information about the Filepro-list
mailing list