Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLExec Error Trapping
Message
From
15/03/2010 14:59:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQLExec Error Trapping
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01454635
Message ID:
01454635
Views:
101
Hi

Is there any way that I can error trap the SQL error code if my connection string fails? Obviously the connection ID will be -1, but if the SQL Server source itself doesn't exist (or the service is turned off), I get a generic ODBC error: can this ODBC error be trapped?

Regards
Next
Reply
Map
View

Click here to load this message in the networking platform