Ibai, if you are using VFP7 you can USE CURSORTOXML and then XMLTOCURSOR functions.
>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
Alexandre Palma
Senior Application Architect