Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can CursorAdapter be disconnected?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01471214
Message ID:
01471220
Vues:
63
>>Hi,
>>
>>As I try different approaches with a CursorAdapter I learn that once the CursorAdapter goes out of scope (say it is referenced to a local variable and code returns from the function where it is created), the cursor created with .CursorFill() is lost too. Is it possible not to lose the cursor if the CursorAdapter is out of scope? That is, if I need the cursor for view only and don't care about updating and making any changes to the table(s) on which the cursor is based, can I destroy the CA and keep the cursor?
>>
>>TIA.
>
>select * from (loCA.Alias) into cursor csrMyNewAlias

Thank you.
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform