Eugene Vital wrote: > MB Software Solutions wrote: > >> Eugene Vital wrote: >> >> >>> Michael, >>> >>> The answer is in the connections string! 8-) >>> >>> LOCAL lcSQLConStr as String ,; >>> liSQLHandle as Integer >>> >>> >>> * this connections string gives the desired results >>> lcSQLConStr ="DRIVER=MySQL ODBC 3.51 >>> Driver;SERVER=MYSERVER;DATABASE=im;USER=MYUSER;PASSWORD=MYPASSWD;PORT=3306;OPTION=16899" >>> >>> >>> * this connections string gives the behavior you described >>> lcSQLConStr ="DRIVER=MySQL ODBC 3.51 >>> Driver;SERVER=MYSERVER;DATABASE=im;USER=MYUSER;PASSWORD=MYPASSWD;PORT=3306" >>> >>> >>> liSQLHandle = SQLSTRINGCONNECT( lcSQLConStr) >>> >>> >>> IF liSQLHandle > 0 >>> SQLEXEC(liSQLHandle,"select COUNT(*) as icnt from log","curCntLive") >>> WAIT WINDOW VARTYPE(curCntLive.icnt) >>> SQLDISCONNECT(liSQLHandle) >>> ENDIF >>> >>> >>> >>> >> Eugene, >> >> That worked! It fixes the issue I saw, but the concern I have >> is....does it break anything? Hmmm...... >> >> (Where'd you get that value, anyway?) >> >> >> > > Don't remember, been using it for years...here is a complete reference > for the ODBC connection parameters. > http://dev.mysql.com/doc/refman/5.1/en/myodbc-configuration-connection-parameters.html >
This is the specific setting that affects it. 16384 |FLAG_NO_BIGINT| Change BIGINT Columns to Int Change |BIGINT| columns to |INT| columns (some applications can't handle |BIGINT|). _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

