Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert cursors to a single string and back
Message
De
30/07/1999 08:25:29
 
 
À
30/07/1999 08:21:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00248084
Message ID:
00248122
Vues:
21
>>>
>>VFPCOM can convert both ways - two methods, one goes rs->cursor, the other cursor->rs. AFAIK, though, there's no way to create an RS directly within VFP; you might want to look at John Petersen's Whitepaper on VFP and ADO. XML might be a better way to approach the problem.
>
>In VFP, the only way you can do a query and have it go directly to an ADO record set is to access the data via ADO in the first place, but this isn't different than any other language or data source.

I realize this; I think that he wants to create a VFP COM object and have it serve as an OLEDB provider, where it receives a query, and returns an ADO recordset; I'm not aware of a way to do that directly. The biggest problem is how to pass the ADO RS back from the COM server to the client. Do you have a way to do that?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform