T
Thanks Minty, I have changed to before Insert event, now it's working.The before update event works when you are leaving the record on that form, if you cancel that in the validation code, then that form's After Update event won't be triggered.