A
Alex
Hello anyone,
I have a form. If a user changes his/her mind while
inserting a new record, and tries to close the form, there
is the message pops up:
"some field can not contain a null value...bla - bla"
Next pop up window"
"can't save the date..would you like to close it? Y/N"
My question is:
Is it possible to handle this error?
I would like to
1. Know the code for this error (could not find and Access
does not give it)
2. Be able to close that form without any prompts to the
user. Just close it.
For this purpose, I did try to use OnError event but it
seems Access just ignores it and pops up the previous
messages.
Is the only way is:
a. to change the null value to some specific.
b. let the access save the record.
c. delete the last record?
Thanks for your time and advices.
Alex
I have a form. If a user changes his/her mind while
inserting a new record, and tries to close the form, there
is the message pops up:
"some field can not contain a null value...bla - bla"
Next pop up window"
"can't save the date..would you like to close it? Y/N"
My question is:
Is it possible to handle this error?
I would like to
1. Know the code for this error (could not find and Access
does not give it)
2. Be able to close that form without any prompts to the
user. Just close it.
For this purpose, I did try to use OnError event but it
seems Access just ignores it and pops up the previous
messages.
Is the only way is:
a. to change the null value to some specific.
b. let the access save the record.
c. delete the last record?
Thanks for your time and advices.
Alex