Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Recordset
Message
 
À
01/10/2002 05:37:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00706271
Message ID:
00706278
Vues:
22
>>>Hi
>>>
>>>Is it possible to effectively return a Recordset, or similar, from FoxPro, requested from a VB application?
>>
>>Take a look on file #10002. It containes a CursorToRs method.
>>
>Thanks
>
>Can you give me some small guidance on this, I'm getting help for someone else, can I simply convert the cursor from Fox and then return the object reference?

Something like this:
oOleDb = CreateObject("OleDbFox.Utils")
oRecordSet = CreateObject("ADODB.Recordset")
* If cursor name not specified, a cursor in selected area will be used
oOleDb.CursorToRs(oRecordSet, "MyCursor")
* Now you can return oRecorset to VB
Alexander
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform