Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pack a cursor?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01335982
Message ID:
01335984
Views:
20
>>I am surprised that VFP does not allow packing a cursor (I get error 1115). What other method can I use to pack a cursor (get rid of deleted records)? I am guessing that I can copy non-deleted records to another cursor, then zap this one, then append from the temp one. Is this the only way?
>
>Try
>
>SELECT * FROM crsWhatever INTO CURSOR crsWhatever
>
First, thank you for your help. Strange thing that your code worked first time. But when I try to do it again, I get error. I must be doing something wrong. I will start from the beginning. Btw, how do I add to the code above that I want to SELECT only NOT-DELETED records?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform