Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec Error Trapping
Message
 
 
À
15/03/2010 14:59:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
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:
01454639
Vues:
40
>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

What are you getting in aerror (all element items)? Anything useful?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform