Error Trapping on DBConnect

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Error Trapping on DBConnect

Post by kpassaur » Tue Dec 15, 2009 7:40 pm

Does anyone know of a way to setup error trapping on DBConnect? Currently if it does not connect it gives a:

"[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified" and then it locks up.

If it is compiled it creates one of the Windows that wants to Send an Error Report to Microsoft.

Can it somehow be adjusted so that it returns a result code so that if it does not connect it does not lock up.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts