Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to hide error message from SQL ODBC driver?
Message
De
11/05/2000 09:42:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How to hide error message from SQL ODBC driver?
Divers
Thread ID:
00368515
Message ID:
00368515
Vues:
75
I have a system that sends a passthrough SQL statement (INSERT..)
using SQLSTRINGCONNECT().
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
Répondre
Fil
Voir

Click here to load this message in the networking platform