Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL server connection error and popup window
Message
From
16/01/2013 16:00:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01563020
Message ID:
01563029
Views:
56
Hi Naomi.
Many thanks!
These properties are related to all ODBC drivers?
Where can I find a list of these properties?

Thanks again.

>>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)  && disable login dialog if there is a problem
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform