dickylam
IS-IT--Management
- Jun 24, 2001
- 86
I am getting trouble in using ado, even though I read the section in MSDN, but no example for VFP, if read the jump start for VFP, only little help available...
For example, I want to use the find method available ADO, but I always get OLE IDispatch.... which is telling me VFP do not understand the parmeters I put in the find method, I think.
Like the find method, many methods and properties are seems not supported in VFP, one more example, recordcount should give the total record, but if I issue:-
? testobject.recordcount
where testobject is built via ado.recordset, the result will show -1 only.
Anybody have idea how to use ADO in depth to access the database and tables, here I use SQL 2000 server, but I think same method can use even foxpro table!
Thanks at all.
For example, I want to use the find method available ADO, but I always get OLE IDispatch.... which is telling me VFP do not understand the parmeters I put in the find method, I think.
Like the find method, many methods and properties are seems not supported in VFP, one more example, recordcount should give the total record, but if I issue:-
? testobject.recordcount
where testobject is built via ado.recordset, the result will show -1 only.
Anybody have idea how to use ADO in depth to access the database and tables, here I use SQL 2000 server, but I think same method can use even foxpro table!
Thanks at all.