DaveTappenden
Programmer
- Jan 16, 2002
- 21
- 0
- 0
I have just upsized an Access 2000 application to SQL v7 using the upsizing wizard.
On the Server side, I have set check constraints on certain colums (eg discount<40) to validate data entry.
This works fine on my access forms, but the users are getting an unfriendly ODBC call failed error message when they enter data that violates the constraint rule. My normal access error trapping routine is not triggered.
Can anyone advise me on the correct error-handling routine to trap ODBC errors?
Thanks in advance.
On the Server side, I have set check constraints on certain colums (eg discount<40) to validate data entry.
This works fine on my access forms, but the users are getting an unfriendly ODBC call failed error message when they enter data that violates the constraint rule. My normal access error trapping routine is not triggered.
Can anyone advise me on the correct error-handling routine to trap ODBC errors?
Thanks in advance.