>Is it possible to set the RecordSource property of a grid to a ADO recordset object?
>
>e.g.
>oConn = Create('ADODB.Connection')
>oRecs = Create('ADODB.RecordSet')
>oConn.Open('MyADOSource')
>oRecs.Open('select * from MyTable',oConn,3,3)
>
>ThisForm.MyGrid.RecordSource = && /now I'm lost?
>Thanks
>Pete Kan
Nope. But you can convert from the ADO recordset to a VFP cursor and then back again. There is an article on the VFP web site that explains how to do it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer