L
lukebe
I have a basic form bound to a table. I have name and address as
mandatory in the table def. If I enter the name but not address then
click on the cross in the top right (built into access) of the form it
says "Cannot save record because address is required".
This is as I'd expect.
I have my own close button at the bottom of the form which has the
code:
DoCmd.close acForm, me.name
This closes the form without showing any errors and simply does not
save the data. If I enter all the required information it saves the
record fine. Just seems to not save if any required fields are missing
and does not show a warning.
Can anyone explain this anomily?
mandatory in the table def. If I enter the name but not address then
click on the cross in the top right (built into access) of the form it
says "Cannot save record because address is required".
This is as I'd expect.
I have my own close button at the bottom of the form which has the
code:
DoCmd.close acForm, me.name
This closes the form without showing any errors and simply does not
save the data. If I enter all the required information it saves the
record fine. Just seems to not save if any required fields are missing
and does not show a warning.
Can anyone explain this anomily?