Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do a cursor writable?..
Message
 
 
À
24/03/2006 16:39:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01107530
Message ID:
01107531
Vues:
22
>Hi, I have these command lines:
>
>Select * from Mytable into cursor MyCursor
>
>* Then :
>
>Select MyCursor
>Scan
> If field1=1
> replace field2 with date()
> Endif
>Endscan
>
>How to write into MyCursor? VFP tell me: Can´t write in the cursor..
>The question is: how to do it writable?..
>
>Thanks in advance
>Carlos Burgos

It depends what version of VFP you're using. If recent enough, add READWRITE to your SELECT statement. Note that this won't update the underlying data. It will only update the cursor!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform