Hi All,
I am running up against an error ‘Index or Primary Key Cannot Contain Null Value’. In the dialog box it doesn’t give the RTE number just the description, OK & Help buttons. After some searching the description matches RTE 3058.
I have identified why it’s happening and through a process of elimination it’s happening in the Before Update event of a subform. I have tried to catch it in an error handler so I can have a bespoke dialog box to inform the user exactly why it’s happened and then undo, but it just goes straight to the dialog box.
Any ideas how I can catch this?
Thanks
Mark
Access 2010.
I am running up against an error ‘Index or Primary Key Cannot Contain Null Value’. In the dialog box it doesn’t give the RTE number just the description, OK & Help buttons. After some searching the description matches RTE 3058.
I have identified why it’s happening and through a process of elimination it’s happening in the Before Update event of a subform. I have tried to catch it in an error handler so I can have a bespoke dialog box to inform the user exactly why it’s happened and then undo, but it just goes straight to the dialog box.
Any ideas how I can catch this?
Thanks
Mark
Access 2010.