Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 sql select to cursor
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
VFP 6.0 sql select to cursor
Miscellaneous
Thread ID:
00340471
Message ID:
00340471
Views:
67
Hello Everyone,

Is it possible to use a sql select to create a cursor and then do a replace in a field in the cursor. I tried this as below but get a 'CANNOT UPDATE THE CURSOR' error message.


select name, section from tablename into cursor mycursor
select mycursor
replace all section with "A" for section = "V"

I only want to change the values in the cursor, not the original table, and I intend to use the cursor for a report form.

Can anyone help me with this issue?

Thanks,

Jim Harvey
jharvey@netrax.net
Next
Reply
Map
View

Click here to load this message in the networking platform