General information
Category:
Conferences & events
Title:
How to hide error messagebox from SQL ODBC driver?
We have a system that sends a passthrough SQL statement (INSERT..)
using SQLSTRINGCONNECT() function.
If the SQL Server is down, the record is saved in a off line table
in the local disk. When Server turn back, I sycronize the database.
The problem is that I can't hide the messagebox from TCP/IP Sockets
or Named Pipes.
Using a connection in DBC I can hide the login prompt,
but not the error message, even with ON ERROR.
I want the SQLSTRINGCONNECT() returns just '-1' without displaying the messagebox.
Thanks in advance,
Paulo Barros
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only