I have Access front end with SQL back end. There are some constraints in the table which supports the form. If certain values are left blank (null), I receive an odbc--call failed error. I understand the error, but I want to make the interface a bit friendlier to the end user.
If the user starts entering a record and then clicks outside of the subform which holds these records, the ODBC error message appears. I tried some VBA code to check for null values on lost focus event, but it seems that the code I wrote there is completely ignored.
How can I change the error message which is displayed? Can somebody direct me to something which will show me how to customize what is displayed?
MrsBean
If the user starts entering a record and then clicks outside of the subform which holds these records, the ODBC error message appears. I tried some VBA code to check for null values on lost focus event, but it seems that the code I wrote there is completely ignored.
How can I change the error message which is displayed? Can somebody direct me to something which will show me how to customize what is displayed?
MrsBean