Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Recordset
Message
 
To
01/10/2002 05:37:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706271
Message ID:
00706278
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform