Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Client/Server Error Messages
Message
De
29/01/1997 12:31:21
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
 
 
À
28/01/1997 09:22:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00018519
Message ID:
00018719
Vues:
40
>>I am creating my first Client/Server Application. I am using VFP 5.0 with a SQL Version 6.5 Database. Could anyone recommend some SQL error numbers I should trap when they occur?
>It's better to intercept any SQL-related error:
>ON ERROR lErrorflag=.t.
>=sqlExec(...)
>=AERROR(aErrorInfo)
>ON ERROR
>if lErrorflag=.t.
> **** show custom message including aErrorinfo[2]
>endif

OK, I already had something similar to that, but what I was more looking for was the error numbers I should watch for to make Custom Messages. When I looked at the SQL Manual, the # of possible error messages was confusing. A list of common Error #'s would save me alot of time in creating Custom Messages.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform