AndeanWayne
Registered User.
- Local time
- Today, 06:12
- Joined
- Jan 21, 2012
- Messages
- 27
I have a database with two related tables based on a property ID code. I want to have a cascade delete so when I delete a record in the property info table the related record in the investment table is deleted. The rpobelem is this is a one to one relationship because the PropertyID is the Primary Key for both tables. Since records in the Investment table are created when the Property Info table record is created I thought to eliminate the Primary Key from the Investment table. Voila! The relationship between the two tables is now a one to many. But, imagine my chagrin when the Cascade Delete Related check box is dulled out and cannot be selected. Can a one to one relationship have a cascade delete? Why didn't my solution work? Though the relationship says one to many the line connecting the tables does not show that. HELP!