I’m a new database designer. Access 2013 came in my Office bundle, so I decided it was time to learn to make my own databases.
Having early success with simple projects, I decided to tackle one that I thought would be easy, but is frustrating me.
Here’s the scenarion:
Our homeowners association contracted to have an inventory of our trees done. A map was generated and each tree given a unique number. But, there is no correlation between the tree number and where to find the tree. Quotes for maintenance give the tree number but not a location. Hoping to end the difficult hunt on the map:
I created 3 tables.
1) ‘Owners’ contains things like Name, phone numbers, and email. Its primary key is OwnersID. It also has a field, PropertyID which is the same PropertyID from the Properties Table
2) ‘Properties’ containing the Primary Key PropertyID, street number, and a few other fields that directly relate to the individual property.
3) ‘Trees’ containing a Primary Key TreeID, the tree number from the survey, some fields that directly relate to the indivual tree. It also includes PropertyID
Properties is the Parent table with a one to many relationship to PropertyID in the 2 child tables.
The Owners and Properties tables are fully populated.
The Trees table is populated except for PropertyID and location on the property (a dropdown choice)
What I want to do is choose a street number from the Properties table, assign an existing tree number from the survey and add values to other fields in the Trees table. But I can’t do that without a value in the PropertyID. The street number is unique to the PropertyID.