Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00401316
Message ID:
00401353
Views:
22
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform