Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating cursor?
Message
De
02/04/2007 10:06:46
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
02/04/2007 10:03:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01211251
Message ID:
01211255
Vues:
15
Hi Samuel,
If you are creating the cursor with a select statement, you need to use the "readwrite" clause.


>I have a cursor crsReport and I would like to replace my build field to zero if my qtyper is zero. I have tried the replace command and it says that the cursor is read-only. How do I update my crsReport cursor? Please help. Thanks, Sam
>
>
>SELECT crsReport
>SCAN
>  IF crsReport.QtyPer = 0
>    REPLACE build WITH 0 IN crsReport
>  ENDIF
>ENDSCAN
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform