Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL server connection error and popup window
Message
De
16/01/2013 16:00:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01563020
Message ID:
01563029
Vues:
57
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform