Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do a cursor writable?..
Message
 
 
To
24/03/2006 16:39:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107530
Message ID:
01107531
Views:
23
>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform