>
>I realize this; I think that he wants to create a VFP COM object and have it serve as an OLEDB provider, where it receives a query, and returns an ADO recordset; I'm not aware of a way to do that directly. The biggest problem is how to pass the ADO RS back from the COM server to the client. Do you have a way to do that?
ADO is an object, so when you create your record set object (usually called rs in code), you put
RETURN rs
in your code.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer