
Different ODBC versions accept different parameters???
in my app, i have the following code run successfully with
MS Access Driver 4.00.6019.00, but fail with version
4.00.6200.00. the exception thrown says
"[ODBC MS Access Driver] Too few parameters. Expected 1."
// _ConnectionPtr m_pConnection;
// _RecordsetPtr m_pRecordSet;
m_pRecordSet = m_pConnection->Execute(_bstr_t(query),
&vRecsAffected, adOptionUnspecified);
How should i overcome this problem? is there a generic way
that works with different versions of MS Access Driver?
Thanks a lot!
Wenrich