Hi all
I am developing a database that tracks orders. One of the fields on the forms is salesperon_no (SP_No). It is a required field. When a user tries to save the record, either by tabbing through to a new order or by clicking a save button, access brings up a message saying that "The field Orders.SP_No can't contain a Null value because the required property for this field is set to True. This is kind of cryptic to some of the end users. Is there anyway to display a more meaningful message? I know I need to bring up a msgbox but I cant get it to fire right. I thought I might be able to use error trap but I don't think access treats it as an error.
I do have some validation that prompts them for a SP_No if the field is null and loses focus, but it doesn't stop someone from navigating around it with a mouse.
Any help would be appreciated
Thanks,
Matt
I am developing a database that tracks orders. One of the fields on the forms is salesperon_no (SP_No). It is a required field. When a user tries to save the record, either by tabbing through to a new order or by clicking a save button, access brings up a message saying that "The field Orders.SP_No can't contain a Null value because the required property for this field is set to True. This is kind of cryptic to some of the end users. Is there anyway to display a more meaningful message? I know I need to bring up a msgbox but I cant get it to fire right. I thought I might be able to use error trap but I don't think access treats it as an error.
I do have some validation that prompts them for a SP_No if the field is null and loses focus, but it doesn't stop someone from navigating around it with a mouse.
Any help would be appreciated
Thanks,
Matt