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 > > >
I'll test it later, but I'll assume you're right...virtual beers on me!!! Thanks, Gene. I knew it had to be something with the switches for the OPTION command! Note that I did in fact use an OPTION tag value...but it was different from yours. -- 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.

