Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop field
Message
From
16/04/2007 09:04:17
 
 
To
16/04/2007 02:54:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01216122
Message ID:
01216180
Views:
14
>hi all,
>
>i need to drop field from my table if found as...
>
>locate for mytable where filedname or (column name)="ccc"
>if found()
>    alter table mytable  drop column ccc
>endif
>
>
>thanks
If type('mytable.ccc')<>'U'
   alter table mytable drop column ccc
endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform