>>>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?
UPDATE. Yes, something happens to the cursor when you use your code. That is, if I try to select from this cursor again, I get error "crsWhatever must be created with SELECT INTO TABLE."
"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