>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only