Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Connection Errors without the Stupid ODBC window
Message
 
To
04/08/2008 22:16:59
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01336473
Message ID:
01336475
Views:
17
http://msdn.microsoft.com/en-us/library/aa978480(VS.71).aspx




>Hi,
>
>Is there anyway to create a connection with the ability to trap for errors without the stupid ODBC connection error window appearing?
>
>Like:
>
>! Connection Failed:
>SQL State '28000'
>SQL Server Error 18456
>[Microsoft] [ODBC SQL Server Driver][SQL Server] Login failed for user 'xx'
>
>
>Thanks!
>
>Bob
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform