Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a COM object return a Cursor?
Message
From
19/11/2001 06:20:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/11/2001 06:11:18
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00583356
Message ID:
00583357
Views:
32
>Hi,
>I need a COM object to return a couple of records.
>How can I get it?
>Can I return a cursor, by ref or return its name or something like that?
>Is there any other way to face this problem?
>
>Thanks in advance,
>Ibai

AFAIK a COM object cannot return a cursor. But it can create a table. You could pass back table name and open it with native use or ADO.

Also instead of returning a cursor you could have it an array pointing to 'record' objects instead (created with scatter name this.arrRecs[recno()].

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
Previous
Reply
Map
View

Click here to load this message in the networking platform