R
roger
I have 2 tables, one courses which has like 35 diffrent
courses that the students can take and then a table which
has all the attendance recorsd for students as theya
ttended/completed these ourses. Ealrier there was a 1-many
relationship and there was referential intergrity set on
i.
The need was that some of the courses were no longer
offered and new ones had to be added. When I tried to
delete the courses it would not let me do that. So what I
did was went to the relationships window....temporraily
diabled the join...deleted the old courses,added the new
courses....and then again made the relationship 1-M but
when I tried to create the refential intergity it said
that will not be possible.
I guess that is fine right...I am figuring that this
happened because there are still some entries in the
attendace table which do not have valide courses any moe
in the cousres table. But going forward a student will be
able to enter/attend only courses that are there on the
list and there is nothing wrong with these right?
courses that the students can take and then a table which
has all the attendance recorsd for students as theya
ttended/completed these ourses. Ealrier there was a 1-many
relationship and there was referential intergrity set on
i.
The need was that some of the courses were no longer
offered and new ones had to be added. When I tried to
delete the courses it would not let me do that. So what I
did was went to the relationships window....temporraily
diabled the join...deleted the old courses,added the new
courses....and then again made the relationship 1-M but
when I tried to create the refential intergity it said
that will not be possible.
I guess that is fine right...I am figuring that this
happened because there are still some entries in the
attendace table which do not have valide courses any moe
in the cousres table. But going forward a student will be
able to enter/attend only courses that are there on the
list and there is nothing wrong with these right?