R
Rick in N S
In table tblPhones I have an unique index consisting of:
ContactID PK autonumber
PhoneType Text (ie Home; Work; Cell; Mobile; Cottage; etc)
to prevent users from recording duplicate phone types.
When they do attempt to use a phone type the second time
they get the standard Access message:
"The changes you requested to the table were not
successful because they would create duplicate values in
the index, primary key, or relationship. Change the data
in the field for fields that contain duplicate data,
remove the index, or redefine the index to permit
duplicate entries and try again."
How do prevent this standard message message from
appearing and replace it with a less ambigous one such
as "You have already recorded this phone type for this
contact."
ContactID PK autonumber
PhoneType Text (ie Home; Work; Cell; Mobile; Cottage; etc)
to prevent users from recording duplicate phone types.
When they do attempt to use a phone type the second time
they get the standard Access message:
"The changes you requested to the table were not
successful because they would create duplicate values in
the index, primary key, or relationship. Change the data
in the field for fields that contain duplicate data,
remove the index, or redefine the index to permit
duplicate entries and try again."
How do prevent this standard message message from
appearing and replace it with a less ambigous one such
as "You have already recorded this phone type for this
contact."