scousethemoose
Programmer
Hi hope someone can help me with this:
I have 3 tables, 2 of which are basically the same.
tblAppliancePAT:
PATno - Primary Key
AppDescription - Key
tblReqPAT:
PATno - Primary Key
AssetID - Key
I'm trying to link these table to another table PATesting: It has these fields
TestNo - Primary Key
PATno
Description
TestDate
RecheckDate
TestedBy
I can have intermediate links but i want to force referential integrity so that when i delete a record form my assets table it deletles the related record in tblPATesting.
I want to have two one tables for a many table. Is this possible?
I also have the problem that if i schedule a PAT for reocords in either table i cant unless a related record is is in the other.
I've a feeling i could combine the two tables, the easy solution but i'd like to keep them seperate.
Any ideas?
Thanks
I have 3 tables, 2 of which are basically the same.
tblAppliancePAT:
PATno - Primary Key
AppDescription - Key
tblReqPAT:
PATno - Primary Key
AssetID - Key
I'm trying to link these table to another table PATesting: It has these fields
TestNo - Primary Key
PATno
Description
TestDate
RecheckDate
TestedBy
I can have intermediate links but i want to force referential integrity so that when i delete a record form my assets table it deletles the related record in tblPATesting.
I want to have two one tables for a many table. Is this possible?
I also have the problem that if i schedule a PAT for reocords in either table i cant unless a related record is is in the other.
I've a feeling i could combine the two tables, the easy solution but i'd like to keep them seperate.
Any ideas?
Thanks