Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you Pack a Cursor
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01556496
Message ID:
01556573
Views:
66
Hi Koen.
Yes.. that will do the job.
I will be using the Cursor with the deleted rows in a Grid, and I have found in the past , that with lots of rows, and only a few of them not deleted, latency appears , but copying out to another cursor will work perfectly
Many thanks
Gerard



>>I have a Select into a Cursor readwrite and then 'Postprocess' the cursor removing rows based on various conditions
>>I then want to 'Pack' the cursor but dont seem to be able to do it
>>Any way of doing it
>>
>>(After removing rows, I then need to use the cursor as the basis of an update, and want to speed it up as much as possible (can be millions of rows) , so want to Pack to improve performance
>>
>>Tia,
>>Gerard
>
>
>Gerad,
>
>Try
>
>
>lcDeleted = Set("DELETED")
>SET DELETED ON
>SELECT * FROM myCursor WHERE !DELETED INTO CURSOR myCursor NOFILTER READWRITE
>SET DELETED &m.lcDeleted
>
>
>Regards,
>
>Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform