Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Something wrong with my codes?
Message
 
 
To
08/08/2003 07:53:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818128
Message ID:
00818138
Views:
18
ALTER TABLE command doesn't work on cursors with long field names (longer than 10 chars). You can add required field directly to your query.
SELECT * FROM Library!tCodeWord, 0 AS lselected ;
 UNION;
SELECT * FROM Library!tCodeName, 0 AS lselected ;
ORDER BY 1;
INTO CURSOR crsCodeAll READWRITE
>can anybody help me? is there something wrong with my code, because it doesn't work in my program:
>
>1. i want to add a field in a cursor crsCodeAll.
>
>******* it doesn't work ********
>SELECT * FROM Library!tCodeWord;
> UNION;
>SELECT * FROM Library!tCodeName;
>ORDER BY 1;
>INTO CURSOR crsCodeAll READWRITE
>
>ALTER TABLE crsCodeAll ADD COLUMN lselected n(1)
>
>
<snip>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform