Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADD and DROP Columns in a free table
Message
 
 
To
13/08/2003 18:14:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00819961
Message ID:
00819971
Views:
17
This message has been marked as the solution to the initial question of the thread.
>Using ALTER TABLE I know, but if the table is not in a database how do I check if the column exists before I DROP or ADD it? In a database I would use INDBC() but not sure how to do the same on free tables. Thanks!
>
Hi Renoir,

The TYPE() function can help you
IF TYPE("mytable.myfield") <> "U"
  * Filed exists
ELSE
...
ENDIF
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform