As always, I am back to this forum for guidance. I am working on a cemetary database and trying to figure out the best way to set this up. Here are the rules:
1. the Cemetery has several lots. Each lot has exactly 6 plots, and each plot has exactly two places.
2. Owners can by plots. One plot can have combined ownership by two or more owners and one owner can own more than one plot.
3. Places in the plots can be occupied or open. Occupied places have either cremations or full burials - Occupant information (different from owner) is also to be maintained.
I have designed a basic structure (SEE GRAPHIC) and now have the following questions:
1. Since Places can be Open or Occupied, I thought I would separate Occupants from the Place Table and have a 1to1 relationship (but I dont know how).
2. How do I ensure that each Lot has 6 and only 6 plots associated (1to6 relationship!) and that each Plot has 2 and only two places asccociated with it(1to2!)?
Any help/suggestion is appreciated.
Thanks
1. the Cemetery has several lots. Each lot has exactly 6 plots, and each plot has exactly two places.
2. Owners can by plots. One plot can have combined ownership by two or more owners and one owner can own more than one plot.
3. Places in the plots can be occupied or open. Occupied places have either cremations or full burials - Occupant information (different from owner) is also to be maintained.
I have designed a basic structure (SEE GRAPHIC) and now have the following questions:
1. Since Places can be Open or Occupied, I thought I would separate Occupants from the Place Table and have a 1to1 relationship (but I dont know how).
2. How do I ensure that each Lot has 6 and only 6 plots associated (1to6 relationship!) and that each Plot has 2 and only two places asccociated with it(1to2!)?
Any help/suggestion is appreciated.
Thanks
Last edited: