Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear CursorAdapter
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Clear CursorAdapter
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01520842
Message ID:
01520842
Views:
133
Hi,

For some reason I think I might have asked the question before and if so, I apologize. I just can't find the answer and can't remember.

If I have a cursor created with the cursor adapter and I want to "clear" it without saving to the base table, how do you do it? That is, I want to zap all records (if they do exist) from the cursor of CA without having to call the base table again.
Can it be done? I realize that I can re-fill the cursor using the 1=0 where expression but I prefer (if possible) not to call the database.

TIA.
"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
Next
Reply
Map
View

Click here to load this message in the networking platform