Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter
Message
De
23/11/2002 16:51:40
 
 
À
21/11/2002 07:19:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00725086
Message ID:
00726200
Vues:
15
Hi Tina.

>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?

In the release version of VFP 8, you'll be able to pass an open ADO Recordset as the fourth parameter to CursorFill. That tells VFP to ignore the DataSource property and instead create a cursor from the passed Recordset. This is crucial for CursorAdapter to work in n-tier environments where a middle tier object returns an open (but disconnected) Recordset to the UI layer. Otherwise, VFP would require a live connection to the data source, which means client-server or 2-tier only.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform