Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLStringConnect to validate connection string
Message
From
19/01/2014 18:12:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592143
Message ID:
01592155
Views:
62
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform