I have a table that users are inserting data into when they sign up for a job. The fields are scehdule_id and employee_number. The table is in access. I have the schedule_id set as the primary key. If two people try and sign up for the same job at the same time one person is going to get the job and the other is going to get an error message about not being able to enter the data because of not being able to enter a duplicate index key, primary key.
What I want to know is how can I redirect the person who is getting the error to a page advising them that the job has already been filled.
Thanks
Brian
What I want to know is how can I redirect the person who is getting the error to a page advising them that the job has already been filled.
Thanks
Brian