Hi,
So I have a grade database, and I want to make sure I don't input the student's grade twice. I only input grades once a day, since there are a fixed amount of grades that a student will have everyday.
Each student has his ID, and each student has a day for whatever his grades entered. What I don't want is that for example, student id 1000 has grades on 10/10/10, but maybe I left and was entering grades and then Id have two 10/10/10 records for student number 1000.
Is there any validation rules I can set in place so that a field within a primary key does not repeat?
To be more clear,
student 1000 would have grades on 10/10/10 , and student 1001 would also have grades on 10/10/10 (so date cannot be primary key), but there can only be 1 instance of a date for each student.
So I have a grade database, and I want to make sure I don't input the student's grade twice. I only input grades once a day, since there are a fixed amount of grades that a student will have everyday.
Each student has his ID, and each student has a day for whatever his grades entered. What I don't want is that for example, student id 1000 has grades on 10/10/10, but maybe I left and was entering grades and then Id have two 10/10/10 records for student number 1000.
Is there any validation rules I can set in place so that a field within a primary key does not repeat?
To be more clear,
student 1000 would have grades on 10/10/10 , and student 1001 would also have grades on 10/10/10 (so date cannot be primary key), but there can only be 1 instance of a date for each student.