Although key(1) is both shorter and less typing, ataginfo() is shorter in time ;-)
_
>It doesn't work anyway for some reason. I guess I need to go back to ataginfo.
>
>This code
>
>lcChild = laAllTables[lnI,1]
> USE (lcChild) IN 0 SHARED ALIAS Child AGAIN
> lcExprC = KEY(TAGNO(laAllTables[lnI,3],'Child'), 'Child')
>
>returns 0 for tagno and then error. Do you see a problem here?
>
>>>>>No, but it is still shorter and less typing.
>>>>
>>>>True, but how do you know which index to pass to key() ?
>>>
>>>tagno(tagName) - the old backward capability function still has its usage.
>>
>>Oh, IC
Gregory