This is a common problem when you have some requirements
set in your tables that a field cannot be null. When you
open that "New Record" and you do not have something
defaulted into a field, you will get this type of error.
It could also be something that you have set on your form
when it goes to a new record. You can use vba code to go
to a new record and and "ignore" the error.
Please post the code from the button's Click event. That may tell us
where to look for the error. The message implies that you are assigning
a Null value to a variable that cannot contain Null.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.