B
Boris Nogoodnik
I am making relatively simple DB in Access 2002. Many fields in
tables do not allow duplicates, so I declared them as Indexed(No
Duplicates) in properties.
If you try to enter a duplicate value in the form, Access gives
you an error box with rather confusing suggestions that scares
the users. I would like this message to display something like
"<value> in field <X> already exists, please reenter".
In case if you use custom record navigation buttons to go to
another record, created by the wizard, it's even worse. It just
says "unable to navigate to the record you selected". It's done
by the wizard. It displays this message on any error in VB code
and there is no check for any specific condition.
So what I'd like to do is to make my own error handlers, giving
more specific information about the cause with the messages that
are clear to the users, who are not quite computer literate.
Anfotunately I couldn't find any error codes or the ways to
check them.
Any help?
tables do not allow duplicates, so I declared them as Indexed(No
Duplicates) in properties.
If you try to enter a duplicate value in the form, Access gives
you an error box with rather confusing suggestions that scares
the users. I would like this message to display something like
"<value> in field <X> already exists, please reenter".
In case if you use custom record navigation buttons to go to
another record, created by the wizard, it's even worse. It just
says "unable to navigate to the record you selected". It's done
by the wizard. It displays this message on any error in VB code
and there is no check for any specific condition.
So what I'd like to do is to make my own error handlers, giving
more specific information about the cause with the messages that
are clear to the users, who are not quite computer literate.
Anfotunately I couldn't find any error codes or the ways to
check them.
Any help?