|
-
Mar 7th, 2001, 11:14 PM
#1
Thread Starter
New Member
I have a funtion to insert data into a SQL Server.
The problem is that if the SQL Server is not activated, it will hold for about 10 seconds until time out.
Is there any method in VB to check wether SQL server is available to connect before I do the insert ?
-
Mar 8th, 2001, 09:27 AM
#2
Member
If you are using ADO you can trap errors around the connection object and you can also change the time out parameters to speed the response up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|