Vaderman
July 5th, 2005, 07:25 AM
I have 3 tables.. For example (and this is just an example, but the solution will be the same.) Person and Animal and they both share a commonality in that they have personal details like Name, Age, Sex (call this PersonalDetails table).
At the moment, the relationship stands as being 1:1 Person<->PersonalDetails and 1:1 Animal<->PersonalDetails. as 1 entity whether albeit a person or animal can only have one set of details.
Now, what I'm looking for is how to describe in a Relationship that it can either be an Animal or a Person, when they enter the PersonalDetails info as they cannot be both.
At the moment, if I enter details about the Person, I'm forced to enter details about Animal and vice versa when, in fact, I just want to enter information about the Animal OR the Person. Ideally, they should be mutually exclusive of each other.
To hopefully make it clearer, at design stage the tables Person and Animal are disjointed tables that both use the PersonalDetails table, but the PersonalDetails table has no information regarding the type, i.e 'the information I have on PersonalDetails, is it an Animal or Person?'.
It is this that I'm having problems with: How do you implement a disjointed tables relation in Access?
I hope that makes sense.
Regards
John
At the moment, the relationship stands as being 1:1 Person<->PersonalDetails and 1:1 Animal<->PersonalDetails. as 1 entity whether albeit a person or animal can only have one set of details.
Now, what I'm looking for is how to describe in a Relationship that it can either be an Animal or a Person, when they enter the PersonalDetails info as they cannot be both.
At the moment, if I enter details about the Person, I'm forced to enter details about Animal and vice versa when, in fact, I just want to enter information about the Animal OR the Person. Ideally, they should be mutually exclusive of each other.
To hopefully make it clearer, at design stage the tables Person and Animal are disjointed tables that both use the PersonalDetails table, but the PersonalDetails table has no information regarding the type, i.e 'the information I have on PersonalDetails, is it an Animal or Person?'.
It is this that I'm having problems with: How do you implement a disjointed tables relation in Access?
I hope that makes sense.
Regards
John