Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear CursorAdapter
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Clear CursorAdapter
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01520842
Message ID:
01520842
Vues:
132
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform