Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a COM object return a Cursor?
Message
From
20/11/2001 11:53:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00583356
Message ID:
00584002
Views:
40
Alberto,
You're missing 'in cases'. If you read original question 65000 elements might make sense to you.
Cetin

>Hi:
>
>FILETOSTR() return an string and arrays have limit (56.000 elements more or less). The FILETOSTR() limit is 2 Mg. :-)
>
>Best,
>
>>Alberto,
>>It might be better to return an array in cases. Or in cases even it might be better to return a string. Best is killer of good and better :)
>>Cetin
>>
>>>Hi:
>>>
>>>You cannot return a cursor from a COM object.
>>>
>>>The best way is return a file, instead of a cursor, with FILETOSTR() in the server and STRTOFILE() in the client. In VFP 6 this instructions not run fine with .CDX and .mem (binary files?)... Perhaps in VFP 7.
>>>
>>>Best,
>>>
>>>Alberto Rodriguez
>>>
>>>>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
Ç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