Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO recordest to VFP cursor?
Message
De
10/09/2004 09:16:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/09/2004 08:31:52
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00940864
Message ID:
00941012
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform