Different ODBC versions accept different parameters??? 
Author Message
 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!


Mon, 06 Jun 2005 17:23:30 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Different structs on different windows versions ?

2. Utilizing ODBC to communicate two different processes on different machines

3. ODBC behavior with different Access versions

4. Globals in different files, different types, same names

5. Different sizes of long int on different machines.

6. ATL7 / different OSs == different results

7. Different results of OpenSchema() with different drivers?

8. Why different run on different systems??

9. Why different run on different system?

10. Why different run on different system?

11. localtime function returns different values for different winnt operating systems

12. compile different source files with different exception handling


Powered by phpBB® Forum Software