Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Adding Column to Cursor
Message
 
 
À
04/12/2006 11:57:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01173581
Message ID:
01174642
Vues:
11
>
>You can not alter the cursor's structure once it has been created. The easiest solution, as already stated here, is to add an item into the "orditemfieldarray"

You can ALTER the cursor's structure as long as it doesn't have names longer than 10 characters and new filed names do not exceed 10 characters.
CREATE CURSOR Test (fld1 I, fld2 C(10))
SELECT * FROM Test INTO CURSOR Test READWRITE
ALTER TABLE Test ADD COLUMN Fld3 D
LIST STRUCTURE
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform