Associated fields and @AF
Jay R. Ashworth
jra at baylink.com
Wed Jun 22 12:20:01 PDT 2005
On Wed, Jun 22, 2005 at 11:12:43AM -0500, Chad McWilliams wrote:
> Here is an output processing I'm running:
>
> if: d) co "O"
> Then: msgbox "AF="<@af
>
> Now, as I read it in the filePro manual, @af should should tell me what
> field in the associated group contains the value of "O". i.e. If O is the
> value of the second field in the associated group d), then @AF should be 2.
>
> When I run this processing against my table, it find records that contain
> the value "O" somewhere in the group, but @AF is always equal to 1.
>
> Here's what the online manual says:
>
> -----
> If you have 32 associated fields and you do a search of that group and find
> a match, the @AF field will contain the occurrence number. If it was the
> fifth one in the associated group, then @AF will be "5".
> -----
>
> Am I misunderstanding what's going here?
Very vaguely I seem to recall that your associated field has to be
called d0. I had a similar problem to this, but it was long enough ago
that that might be the solution to some other problem. :-)
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
If you can read this... thank a system administrator. Or two. --me
More information about the Filepro-list
mailing list