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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement