Prevent Duplicate in table.

maabbas

Board Regular
Joined
Aug 11, 2011
Messages
201
Hello everyone,

Once again me bring you another question. I have a table called Attendance there are 4 fields in it.

Attend_ID
Attend_Date
ID_Employee
ID_Point.

There is only one entry of specific employee in one day. for example on 07/28/2015 Employee id 2070 only can have one entry.

is there any way I can prevent user to enter duplicate value.

Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Thanks Joe4 for your reply, I follow the instruction on link but unable to save Indexes, I am not sure why.
I used Indexes as follow

Attend_ID Key Autonumber Unique ID No Duplicate
Attend_Date Short Date No Duplicate
ID_Employee Number No Duplicate
 
Upvote 0
Is your data table in Access, or link to some other data source?
Which version of Access are you using?
 
Upvote 0

Forum statistics

Threads
1,221,829
Messages
6,162,232
Members
451,756
Latest member
tommyw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top