Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Error Code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00463147
Message ID:
00463159
Vues:
16
>I am using API Functions which will in turn calls the MSSQL functions. I am trying to return the error code of the SQL function to a local VFP variable. I am getting am 8 gidit value. How can I get the actual SQL Error code to the stored in to a VFP variable.

Have you looked at the AERROR() function?

AERROR( laError )

will create an array called laError. I think that laError[1,4] is the ODBC error, if any, and laError[1,5] is the SQL Server error.
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform