Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLStringConnect to validate connection string
Message
De
19/01/2014 18:12:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01592143
Message ID:
01592155
Vues:
68
>>>>I want to be able to validate a connection string that will be used (elsewhere) by SQLStringConnect.
>>>>
>>>>However, when I call SQLStringConnect with an invalid string, it opens up a dialog box.
>>>>
>>>>Is there some parameter or setting somewhere that will have it simply return False if the string is not valid?
>>>>
>>>>Thanks
>>>
>>>Check Message #1550872
>>
>>Naomi --
>>
>>Thank you very much.
>>
>>One more thing ... Do you have any idea what the value of .SQL_ConnectTimeout (referenced in that message) should be?
>
>In our class this property is set to 15. I ran a quick check in the class code to see if it is set in code, but it doesn't seem so. In the property sheet it's 15.

Thanks again
Jim Nelson
Newbury Park, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform