Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field in a table
Message
 
To
15/05/1998 13:21:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00099789
Message ID:
00099796
Views:
23
>Hi all
>
>How can I know if exist a field in a table?.
>
>it means i want to select a table an ask if a field called "lafield"
>exist in that table or not.
>
>Thanks in advance
>
>A.M.G

Augusto, you can use AFIELDS() function, for example and scan the resulting array which contains all info about fields in a table.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform