Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursors and append..
Message
De
28/11/2006 03:06:31
 
 
À
28/11/2006 02:37:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01172836
Message ID:
01172850
Vues:
15
>I'm sorry, I made a wrong statement. It should be, APPEND TO a cursor.
>
>I do this SELECT * FROM table INTO CURSOR csrtable.
>
>Then I have a DO WHILE LOOP that checks a record then appends it to csrtable.
>
>How should I do it?

First of all I suggest that you upgrade to VFP9 which makes this, and many other things, much easier. But to make the cursor read/write with VFP6, you must use a trick:
SELECT * FROM table INTO CURSOR csrtemp.
use csrtemp again in 0 alias csrtable
select csrtable && this cursor will be read/write
use in csrtemp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform