Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timeout for SQLStringConnect()
Message
 
 
À
19/03/2003 13:46:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00767717
Message ID:
00767727
Vues:
12
>When using SQLStringConnect(), I need to set the timeout to 2 seconds. Presently, that is around 10-15 seconds and that is extremely too long for the need we will use it in. Basically, when the connection is good, we have it right away. So, after two seconds, if it doesn't work, I need to stop the process. Any way to achieve that?

Try
SQLSETPROP(0, "ConnectTimeOut", 2)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform