Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Class to convert ADO RecordSet to VFP Cursor
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
VFP Class to convert ADO RecordSet to VFP Cursor
Divers
Thread ID:
00465479
Message ID:
00465479
Vues:
87
Hi,
I am attempting to use an ADO recordset to return the data for a report to a VFP client.
The report server:
1.) Accesses the required data and generates a result cursor for the report
2.) Packages it as a client-side (static) ADO recordset via VFPCOM's CursorToRS() method
3.) Passes the recordset to the VFP client

The VFP client
1.) Copies the ADO recordset's data to a new cursor via VFPCOM's RSToCursor() method
2.) Generates the report

Unfortunately the call to RSToCursor() results in -10=Failed to Create Fox Cursor as reported in thread #338633
I have examined the ADO recordset and all of the data including the numeric fields appears to be present.
I seem to remember that someone wrote an ADO to VFP cursor conversion class before VFPCOM.DLL came out.

Could someone please tell me where to get a copy?

Thanks in Advance,
Ned

Reality is.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform