I'm setting up a Media Contact database in Access 2002 (converted from Excel data) and cascade deletes aren't working on two of my tables. I've got Referential Integrity and Cascade Updates established between all Primary Keys. All my forms properly update the proper tables (so far).
One of my forms can delete a record from tblRecipient. Cascade deletes are set on RecipNameID and SendAddrID, but the deletes don't occur on tblRecipName or tblSendAddr ... Anyone know why not?
Here are the tables and field names. Do I have them set up right?
tblOrg: List of unique organizations. Organizations can have multiple Recipients.
[blue]OrgID (PK), OrgName, OrgTypeID[/blue]
tblOrgTypes: Type of Organization (Press, Govt, University, etc.)
[blue]OrgTypeID (PK), OrgType[/blue]
tblRecipNames: Actual names of Recipients.
[blue]RecipNameID (PK), RecipName, OrgID[/blue]
tblRecipient: Each Recipient can belong to multiple Groups, and have multiple Addresses (fax number, email address and phone). This table provides a "many to many" relationship between RecipNames, SendAddr and Group (I think).
[blue]RecipID (PK), RecipNameID, SendAddrID, GroupID[/blue]
tblSendAddr: Unique fax numbers, email addresses, phone numbers.
[blue]SendAddrID (PK), SendTypeID, SendAddr[/blue]
tblSendType: FAX, Email or Phone
[blue]SendTypeID (PK), SendType[/blue]
tblGroup: Groups for geographic areas, University papers, etc.
[blue]GroupID (PK), GroupName, GroupDescr[/blue]
Many thanks!
One of my forms can delete a record from tblRecipient. Cascade deletes are set on RecipNameID and SendAddrID, but the deletes don't occur on tblRecipName or tblSendAddr ... Anyone know why not?
Here are the tables and field names. Do I have them set up right?
tblOrg: List of unique organizations. Organizations can have multiple Recipients.
[blue]OrgID (PK), OrgName, OrgTypeID[/blue]
tblOrgTypes: Type of Organization (Press, Govt, University, etc.)
[blue]OrgTypeID (PK), OrgType[/blue]
tblRecipNames: Actual names of Recipients.
[blue]RecipNameID (PK), RecipName, OrgID[/blue]
tblRecipient: Each Recipient can belong to multiple Groups, and have multiple Addresses (fax number, email address and phone). This table provides a "many to many" relationship between RecipNames, SendAddr and Group (I think).
[blue]RecipID (PK), RecipNameID, SendAddrID, GroupID[/blue]
tblSendAddr: Unique fax numbers, email addresses, phone numbers.
[blue]SendAddrID (PK), SendTypeID, SendAddr[/blue]
tblSendType: FAX, Email or Phone
[blue]SendTypeID (PK), SendType[/blue]
tblGroup: Groups for geographic areas, University papers, etc.
[blue]GroupID (PK), GroupName, GroupDescr[/blue]
Many thanks!