Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select into a writable cursor?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144681
Message ID:
00144688
Views:
18
>The cursors generated by a select are read only. Can this be changed. I really need a cursor, but I would like it to be writable.
>Thanks

There are few workarounds:
1. You still run
SELECT ... INTO Cursor curReadOnly NOFILTER
and then
USE (DBF()) IN 0 AGAIN ALIAS curReadWrite
2. You prepare cursor first:
CREATE CURSOR curReadWrite ....
run SELECT ... INTO ARRAY ...
and INSERT into curReadWrite From Array ...
3. The same as 2, but you SELECT ... INTO Cursor ...
and APPEND FROM (dbf())
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform