Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Something wrong with my codes?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00818128
Message ID:
00818138
Vues:
20
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform