>>>>>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.
>
>
Have
you been
into the blotter today, or is my vision getting dim?
>
>It doesn't look like I typed varTYPE...
Another CARE package from Raoul arrived I see...No, I was adding to your point that you can use TYPE() for by commenting that you can't use VARTYPE(). How're the lizards and bats, BTW?
George
Ubi caritas et amor, deus ibi est