Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trap ODBC errors when using Recordset DTC's

Status
Not open for further replies.

harleychick

Programmer
Jun 10, 2002
16
0
0
US
I have an ASP page that uses several Recordset DTCs connecting to a SQL server. When the SQL server is not avaliable, the page spits out the standard ODBC error messages. How can I trap/catch the ODBC errors when they occur?? (Like when SQL Server is paused and ASP page can't connect)I have tried "On Error resume Next" before the Recordset DTC, but that isn't catching the errors. Any ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top