Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursors and append..
Message
From
28/11/2006 03:06:31
 
 
To
28/11/2006 02:37:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01172836
Message ID:
01172850
Views:
13
>I'm sorry, I made a wrong statement. It should be, APPEND TO a cursor.
>
>I do this SELECT * FROM table INTO CURSOR csrtable.
>
>Then I have a DO WHILE LOOP that checks a record then appends it to csrtable.
>
>How should I do it?

First of all I suggest that you upgrade to VFP9 which makes this, and many other things, much easier. But to make the cursor read/write with VFP6, you must use a trick:
SELECT * FROM table INTO CURSOR csrtemp.
use csrtemp again in 0 alias csrtable
select csrtable && this cursor will be read/write
use in csrtemp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform