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?) -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" _______________________________________________ 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.

