Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy cursor to another new cursor for update the first o
Message
From
20/06/2011 18:48:18
 
 
To
20/06/2011 18:32:27
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01515215
Message ID:
01515223
Views:
43
Hello Naomy

your SELECT is OK, but i need to replace on mynewcursor column vencido the value:
i write :
select tempccf
SELECT * FROM tempccf into cursor myNewCursor
select mynewcursor
scan
replace mynewcursor.vencido with 'Vencido'
endscan

at this point , i have an error : " Cannot update the cursor MYNEWCURSOR, since it is read-only."

and after this step , i need to delete all the information of my original cursor tempccf and append all the content of mynewcursor.

Thanks,
Luis Santos

Hi Luis
you have to do

SELECT * FROM tempccf into cursor myNewCursor READWRITE

Good luck
Hernan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform