Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client/Server Error Messages
Message
From
29/01/1997 12:31:21
Michael Knelsen
Technology Management Corporation
Regina, Saskatchewan, Canada
 
 
To
28/01/1997 09:22:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00018519
Message ID:
00018719
Views:
36
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform