odbc and mysql

odbc and mysql

Post by J-F Portal » Thu, 01 Sep 2005 17:17:16

I have a small application written in VC++ 6 and I work with mysql 4.1.
through ODBC.

I can with CRecordset communicate with mysql but I
have a little problem to obtain the value of a number (MYSQL LONG type).
I have tried request such
select max(number) from table but the value is not the good one.

Has odbc driver problems with LONG type?
What can I do to solve my problem?

Thank you for your help