Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a field exists within a table ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00367896
Message ID:
00367909
Views:
19
You can use the following code
FUNCTION IsField(tcField, tuArea)
    RETURN FSIZE(tcField, tuArea) > 0
ENDFUNC
NOTE: the above function assumes SET COMPATIBLE is off.


>Type() doesn't seem to work for a table field.
>
>Is there any other way?
>
>Thanks
>Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform