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:
00796655
Vues:
16
But I can only use that if the connection is active according to the help. At the point I want to check for time out if no connection is estblished.

Is there nothing u can put in the connection string for the time out:

my Code

STORE SQLSTRINGCONNECT('DSN=SPTG') to gnConnHandle

IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')

return
ELSE
= MESSAGEBOX('Connection made', 48, 'SQL Connect Message')

ENDIF



Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform