Hi,
I am using VFPOLEDB ( Visual Foxpro OLEDB provider) to connect to
Visual Foxpro 8 using OLEDB interfaces in CPP .
Normal queries like
SELECT * FROM employees
SELECT * FROM employees where employeeid=?
SELECT employeeid,lastname FROM employees are working.
But if I wrote a query like
SELECT employeeid,lastname FROM employees where employeeid=?
Preparation using pICommandPrepare->Prepare(0) is suceeding. But
after that when I try to get the metadata of query using
pIColumnsRowset->GetColumnsRowset, it is failing. It throws
"Unspecified Error(E_FAIL)"
But the same metadata command is working for all the above three
working queries.
If we are not getting metadata of queries and execute directly after
prepare, it is working.
Does any one face such an issue with VFPOLEDB? Does it require any
additional setting of Properties.
I set DBPROP_INIT_OLEDBSERVICES=0
Regards
Zunil
Cordys