Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Class to convert ADO RecordSet to VFP Cursor
Message
From
18/01/2001 18:05:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP Class to convert ADO RecordSet to VFP Cursor
Miscellaneous
Thread ID:
00465479
Message ID:
00465479
Views:
88
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.
Next
Reply
Map
View

Click here to load this message in the networking platform