How to supress Access system error messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am receiving Access generated error messages ("field cannot be null, record is not saved, exit anyway?) when a user clilcks the X to close a form. The messages are coming up because my user want to be positioned in a field upon entering, but if he doesn't do anything on the form, he gets the message when he closes. How can I remove these and other system messages so users can't see them.

Thanks,
CD
 
that error message means that new record was entered (or existing modified),
but required field (promary lkey probably) not filled. you have to check
your code to find where this happens, or if this is by design - allow field
to accept null, or add default to primary key field
--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


HeizCat said:
I am receiving Access generated error messages ("field cannot be null,
record is not saved, exit anyway?) when a user clilcks the X to close a
form. The messages are coming up because my user want to be positioned in a
field upon entering, but if he doesn't do anything on the form, he gets the
message when he closes. How can I remove these and other system messages so
users can't see them.
 
Back
Top