>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