Hi Jacky,
Try set property DispLogin on connection in DBC to 3
or
try set property DispLogin on zero connection to 3 before call SQLCONNECT()/SQLSTRINGCONNECT().
MartinJ
>Dear all,
>
>I am current using myodbc to connect to mysql using visual foxpro
>Actually it is all ok
>But in case when the network is not stable,
>the myodbc odbc setup screen will prompt up
>
>If don't know to to eliminate it as in the code i have handle the connection handle is smaller than zero
>
>When the connection cannot establish, it prompt the odbc set up screen rather return value smaller than zero
>
>How to overcome this problem
>
>Thanks in advance for all
>
>Best Rgds
>Jacky