Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test to see if field exists in dbf
Message
 
 
To
17/05/2004 17:13:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00904715
Message ID:
00904725
Views:
15
>VFP 7 user. I want to see if a field exists in a dbf so I can programatically add the field if it does not.
>
Hi Randy,
IF TYPE("mytable.myfield") = "U"
  * The field 'myfield' doesn't exist in the table 'mytable'
  ...
ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform