Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Recordset
Message
From
01/10/2002 06:03:00
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706271
Message ID:
00706279
Views:
21
>>>>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

Excellent, that's as easy as I was hoping.

BTW, any chance of killing the BETA message?

Thanks for your help.

Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform