Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO recordest to VFP cursor?
Message
From
10/09/2004 09:16:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/09/2004 08:31:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00940864
Message ID:
00941012
Views:
16
>ODBC is not an option - the returned results will always come back as an ADO recordset that is compatabile with a VFP cursor. Just not sure of the best technique to convert ADO to a cursor.
>
>>>I know that I can save an ADO recordset to an XML file and then use XMLTOCURSOR() but is there a better/faster way to convert an ADO recordset to a cursor?
>>
>>Tom,
>>Practically you can't convert all ADO recordsets into a VFP cursor. For those convertible IMHO directly connecting to source with ODBC (if applicable) and using SQLExec() is better than utilities I know of.
>>Cetin

If knowing the structure beforehand is an option then look oRecordset.GetString(). Append from would be the fastest IMHO.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform