Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Packing in a cursor
Message
From
18/02/2003 16:25:24
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/02/2003 12:50:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00754536
Message ID:
00754652
Views:
17
>Is it possible to completely remove deleted records from a cursor? Pack gives me an error that the operation is not available for a cursor (or something like that).

The usual way to handle deleted records is to SET DELETED ON. This will hide the deleted records, but not eliminate them. Since a cursor is by definition temporary, that shouldn't matter much.

Did you try to reselect the data into the same cursor?
SELECT * from MyCursor into cursor MyCursor
Of course, you have to make sure you SET DELETED ON first.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform