Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec Error Trapping
Message
De
15/03/2010 14:59:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQLExec Error Trapping
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01454635
Message ID:
01454635
Vues:
102
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform