msg box for unwanted duplicates

B

Bill Neilsen

Hi Guys I have a table of employment positions with a field called [Employee]
I have the field index set as "Yes (No Duplicates)" so that only one
employee can be allocated to a position.
If the user (when using the input form) selects an employee that is alocated
to another position is it possible to have a simple message box to inform the
user e.g "This employee is already alocated to another position"
 
B

Bill Neilsen

Thanks Bonnie, it works very well. How simple some solutions can be.
I appreciate your help mate.

bhicks11 via AccessMonster.com said:
Hi Bill,

If you are receiving a standard error message when the user tried to add the
employee, change it to your own custom message. Here's a link with
instructions:

http://www.databasedev.co.uk/custom-error-message.html

Bonnie
http://www.dataplus-svc.com

Bill said:
Hi Guys I have a table of employment positions with a field called [Employee]
I have the field index set as "Yes (No Duplicates)" so that only one
employee can be allocated to a position.
If the user (when using the input form) selects an employee that is alocated
to another position is it possible to have a simple message box to inform the
user e.g "This employee is already alocated to another position"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top