>Hi.
>It's good to be back again!
>
>When connecting to MS SQL server or MySQL, using SQLSTRINGCONNECT,
>if the connection fails, there are two windows that appears:
>1st window: a message saying that the connection failed, bla bla bla ...
>2nd window: shows all the information of the connection, so we can change it and click OK to submit a connection request
>again.
>I think both belong to the ODBC driver. Correct?
>Question:
>Is it possible not to show all of the windows or, at least, the 2nd one if the connection fails?
>
>Thanks in advance.
SQLSETPROP(0, "ConnectTimeOut", .SQL_ConnectTimeout)
SQLSETPROP(0, "DispWarnings", .F.)
SQLSETPROP(0, "DispLogin", 3)
If it's not broken, fix it until it is.
My Blog