Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wish List for VFP6.5
Message
 
À
08/05/1999 14:56:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00215552
Message ID:
00216442
Vues:
35
>So what is the straight-forward way to get my data in to the updatable cursor?

Here is how to do it (from Ed Pikman)
---------------------------------------------------------------------
Any read-only cursor can be converted to read-write one programmatically and subsequently its structure can be changed:
Select MyField From MyTable Into Cursor tmpReadonly NOFILTER
cDbf=dbf()
Select 0
Use (cDbf) AGAIN ALIAS tmpReadWrite
Use In tmpReadonly
Alter Table tmpReadWrite Add Column MyNewField C(10)
----------------------------------------------------------------------

Note that you can change the cursor, but the updates are not sent back to the original cursor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform