In order to replace Acess default message when a required field is left blank or filled whith a non allowed zero-length string, I usually de-activate the required and zero-lenghth properties in the backend table and replace them with equivalent validation rules and a custom message.
Not that I am very satisfied with this method but I could not figure out so far how to error_trap null or zero-length fields whatever action the user may undertake(ex: in a form+subform where the user leaves a required filed of the parent form blanks, what event would you use to error trap?)
Now, my method is not working anymore with PK for which "required" and "zero-length not allowed" properties are checked by Access before the field or table validation rule...
So what is the usual way to handle that pb?
Not that I am very satisfied with this method but I could not figure out so far how to error_trap null or zero-length fields whatever action the user may undertake(ex: in a form+subform where the user leaves a required filed of the parent form blanks, what event would you use to error trap?)
Now, my method is not working anymore with PK for which "required" and "zero-length not allowed" properties are checked by Access before the field or table validation rule...
So what is the usual way to handle that pb?