DATABASE DESIGN - HELP REQUIRED
I'm trying to design a database for a client of mine who wishes to be able to hold details about particular companies, view their contacts and keep track of all phone calls made and received with these contacts.
My client also wishes to be able to identify links between companies. For instance company1 may have a history of selling their products to company2 but no longer do business with each other so Company2 would be classed as a historic customer of Company1. However Company2 could buy from Company3 instead, therefore would be classed as an "Exisiting Customer".
In summary,
Company1's historic customers = Company2
Company3's existing customers = Company2
...and therefore...
Company2 = historic customer of Company 1 and existing customer of Company3
So I need a database that allows these links to be created amongst companies and I'm not quite sure how to go about getting these links in place. I don't know, for instance, if I'm required to build more tables or add fields to what I've already got as I've pretty much hit a block.
I think from the diagram below the only thing that may be questioned is about the company type. In this case the possible values are historic customer, existing customer, potential customer. However I also need to make it obvious, somehow, which of the companies are clients to the people who I am trying to create this database for.
I'm looking for guidance on how to adjust the tables and relationships to suit the needs of my client. Databases aren't really my strong suit but I should be able to handle anything you throw at me (within reason!) so any help offered would be greatly appreciated.
Thanks for taking the time to look, and if you require any further information please ask.
I'm trying to design a database for a client of mine who wishes to be able to hold details about particular companies, view their contacts and keep track of all phone calls made and received with these contacts.
My client also wishes to be able to identify links between companies. For instance company1 may have a history of selling their products to company2 but no longer do business with each other so Company2 would be classed as a historic customer of Company1. However Company2 could buy from Company3 instead, therefore would be classed as an "Exisiting Customer".
In summary,
Company1's historic customers = Company2
Company3's existing customers = Company2
...and therefore...
Company2 = historic customer of Company 1 and existing customer of Company3
So I need a database that allows these links to be created amongst companies and I'm not quite sure how to go about getting these links in place. I don't know, for instance, if I'm required to build more tables or add fields to what I've already got as I've pretty much hit a block.
I think from the diagram below the only thing that may be questioned is about the company type. In this case the possible values are historic customer, existing customer, potential customer. However I also need to make it obvious, somehow, which of the companies are clients to the people who I am trying to create this database for.

I'm looking for guidance on how to adjust the tables and relationships to suit the needs of my client. Databases aren't really my strong suit but I should be able to handle anything you throw at me (within reason!) so any help offered would be greatly appreciated.
Thanks for taking the time to look, and if you require any further information please ask.
Last edited: