>>>Is there a way to check the existance of a field in a table?
>>>
>>>Jim
>>
>>Either get the fields into an array using AFIELDS() or iterate through the fields and check the FIELD() function.
>
>Or if the table is open and you know the alias:
>
>TYPE("
alias.fieldname") # 'U'
But only with TYPE(). VARTYPE() generates an error.
George
Ubi caritas et amor, deus ibi est