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:
00401334
Views:
17
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform