Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating cursor?
Message
From
02/04/2007 10:03:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Updating cursor?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01211251
Message ID:
01211251
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform