I have a date input mask on a field and if yo dont enter information that correspons to the input mask date then it gives a error message say something like
Cant save now field is not compliant with 99/99/00
I want to keep the input mask there but change the error message, I could use, ON ERROR GOTO ABC and then in ABC say IF err.number = (the error number) THEN msgbox "ABC"
but I cant get the number becouse it does not show me the code where it runs the err.discription
I also have a combo box that I have selected 'LIMIT TO LIST' and this does not allow them to enter anything new, but if they do try I want to have a cutom message that asks them if they are sure if they want to add that new one in or not,
I hope I have made myself partly clear![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Cant save now field is not compliant with 99/99/00
I want to keep the input mask there but change the error message, I could use, ON ERROR GOTO ABC and then in ABC say IF err.number = (the error number) THEN msgbox "ABC"
but I cant get the number becouse it does not show me the code where it runs the err.discription
I also have a combo box that I have selected 'LIMIT TO LIST' and this does not allow them to enter anything new, but if they do try I want to have a cutom message that asks them if they are sure if they want to add that new one in or not,
I hope I have made myself partly clear