>Sorry for the ambiguity in my request. Let me clarify a little here. I will need to return tables/cursors as the result sets. How should I set that up to return the result setDavid
In the immortal words of Emily Litella (aka Gilda Radner): Ahh! That's very different!
You cannot pass VFP cursors through COM boundaries. What you can pass are ADO objects or probably even better for smallish result sets, XML.
Both can be manipulated and dealt with from VFP. XML is particularly easy with CURSORTOXML(), XMLTOCURSOR() or XMLADAPTER(). CURSORADAPTER() can also deal with ADO.
There are plenty of good examples hetre in the UT and at the fox wiki to get you started.