R
Rashrashetta
I am to make a demo on my database project (using MS Access )....but
there are some problems in the refrential integrity....
I have two tables....ONE for the Customer with a composite primary key
( email and password)
and the SECOND for the Delivery which have a forigen key ( email and
pw ) for the Customer table...
Noe the relationship is one to many ( which means that a customer can
have many deliveries to him...where a delivery at a specific time by a
specific Employee number cannot be for more than one customer )
Now I did create the tables and added some records but now when I am
trying to ENFORCE THE REFRENTIAL INTEGRITY ...I have an error....
Is this because of the composite Primary Key???
And is it wrong that i allow both to be in the ( Indexed (Yes
Duplicate) )option??
So what can I do to solve this problem without changing the design (
As the demo is coming very soon )
Thanks alot for helping....
Yours,
Rsharashetta
there are some problems in the refrential integrity....
I have two tables....ONE for the Customer with a composite primary key
( email and password)
and the SECOND for the Delivery which have a forigen key ( email and
pw ) for the Customer table...
Noe the relationship is one to many ( which means that a customer can
have many deliveries to him...where a delivery at a specific time by a
specific Employee number cannot be for more than one customer )
Now I did create the tables and added some records but now when I am
trying to ENFORCE THE REFRENTIAL INTEGRITY ...I have an error....
Is this because of the composite Primary Key???
And is it wrong that i allow both to be in the ( Indexed (Yes
Duplicate) )option??
So what can I do to solve this problem without changing the design (
As the demo is coming very soon )
Thanks alot for helping....
Yours,
Rsharashetta