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:
01471218
Vues:
74
Detach the cursor before killing CA http://www.berezniker.com/content/pages/visual-foxpro/converting-ado-recordset-cursor-cursoradapter

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

Click here to load this message in the networking platform