>I'm trying to use RSToCursor in VFPCom. This works fine except that the resulting cursor 'disappears'. I can't figure out why.
>
>Also, is this the correct solution. I'm using a VB DLL to retrieve data from (currently) VFP DBC [going to change to MSDE later] which places data in ADO RS. This is then converted to cursor in VFP app.
>
>This is the way the app is being designed for valid future reasons.
oCon = createobject("AdoDb.Connection")
oCon.ConnectionString = "Provider=VFPOLEDB;Data Source=" + _samples +"data\testdata.dbc"
oCon.Open
oRS = oCon.Execute("select * from customer")
xDOM = NEWOBJECT('MSXML.DOMDocument')
oRS.Save(xdom, 1)
oRS.Close
oCon.close
XMLTOCURSOR(xdom.xml, "MyCursorName", 1028)
SELECT MyCursorName
BROWSE
Cetin