Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop field
Message
 
 
To
16/04/2007 09:35:50
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:
01216198
Views:
19
>hi,
>thank you very much, it works... but i need to use thisform.text1.value instead of mytable..
>
>USE atable22 excl&& it works
>If type('atable22.ccc')<>'U'
>  alter table atable22 drop column ccc
>   brow
>ENDIF
>******************************
>USE JUSTSTEM(thisform.text1.Value) excl&&& not works
>If type('thisform.text1.Value.ccc')<>'U'
>   alter table (thisform.text1.Value) drop column ccc
>   brow
>endif
>
>thanks
lcTableName = JUSTSTEM(thisform.text1.Value) 
use (m.lcTableName) exclusive in 0
If type(m.lcTableName + '.ccc')<>'U'
   alter table (m.lcTableName) drop column ccc
   brow
endif
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform