>if Tag(2) returns 'FNAME' and Key(2) Returns "ALLTRIM(FIRSTNAME), Is there a direct command in VFP6 SP5 that can allow you to get the Cdx Key "ALLTRIM(FIRSTNAME) once you know the Tag Name FNAME ?
>I tried something like KEY(TAG(2)) but it gives an error message.
>
>
>Please help
>
>Fred M. Kotte
TRY
KEY(TAGNO('FNAME'))