Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter
Message
 
À
21/11/2002 07:19:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00725086
Message ID:
00725091
Vues:
11
Hi Tina,
I think you could do that by using:

form.bindcontrols
cursoradapter.autoopen

set form.bindcontrols=.f., put a "nodefault" in cursoradapter.autoopen (or use DE.autoopentables).
At that time (when the form runs) you have the object created but no cursor and no data.
Calling cursoradapter.cursorfill will gets data and setting form.bindcontrols=.t. will bind controls (just tried on a dummy form and seem works).

HTH

Franco

>I have been testing the CursorAdaptor class, and am loving it (after years of using rsTo2DBF, it's a relief...).
>
>Does anyone know if there is a way to NOT open and pull the ADO record set - to simply attach an existing recordset to the object and then have it turn it into a VFP cursor?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform