Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote connection to web database problem???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00796034
Message ID:
00796633
Vues:
17
ConnectTimeOut will solve your problem.


Check out the help of SqlSetProp

SqlSetProp(Handle,ConnectTimeOut,Value)


Specifies the time to wait (in seconds) before returning a connection time-out error. If you specify 0, the wait is indefinite and a time-out error is never returned. ConnectTimeOut can be 0 to 600. The default is 15.
Read/write.

>That will only work if the connection is established already will it not.
>
>How can you set a timeout on the actual time it takes to connect to the remote database? At the moment there is no timeout, so if the internet connection is slow, and no connection can be made to the database, the program just hangs up!
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform