Hi,
Sorry to ask such a full on question with my 1st post, but our sales department want a database to maintain contacts in it. Simple I thought, easy enough. But now, they want it to have a "hierarchical" layout to it, so it can depict a companies structure. Basically, what was a simple company name / contact name database with 2 tables, became something I can't figure out.
They want...
HEAD OFFICE COMPANY
H/O ADDRESS (etc)
H/O CONTACTS
SISTER COMPANY
SISTER ADDRESS (etc)
SISTER CONTACTS
DAUGHTER COMPANY
DAUGHTER ADDRESS (etc)
DAUGHTER CONTACTS
So the company name contains the details of the company office (address, website, main phone etc), but under that, any contacts under that office/company level have records for their contact details (phone, job title, email etc)
But they want 3 levels to it, so they can define the structure of a company, with contacts under that office, tied back to head office, then one level further for any daughter offices, again, contacts under that office.
All of it needs to be tied together so you can see all contacts under the top level, or break it down to see contacts under the level(s) below.
I started trying to normalise this, and failed. My head hurts! I'm not a DB programmer at all, I simply run the IT department and this type of thing ends up on my desk.
Any help much appreciated, even if it's simply "you can't do this with access"
TIA, Alan
Sorry to ask such a full on question with my 1st post, but our sales department want a database to maintain contacts in it. Simple I thought, easy enough. But now, they want it to have a "hierarchical" layout to it, so it can depict a companies structure. Basically, what was a simple company name / contact name database with 2 tables, became something I can't figure out.
They want...
HEAD OFFICE COMPANY
H/O ADDRESS (etc)
H/O CONTACTS
SISTER COMPANY
SISTER ADDRESS (etc)
SISTER CONTACTS
DAUGHTER COMPANY
DAUGHTER ADDRESS (etc)
DAUGHTER CONTACTS
So the company name contains the details of the company office (address, website, main phone etc), but under that, any contacts under that office/company level have records for their contact details (phone, job title, email etc)
But they want 3 levels to it, so they can define the structure of a company, with contacts under that office, tied back to head office, then one level further for any daughter offices, again, contacts under that office.
All of it needs to be tied together so you can see all contacts under the top level, or break it down to see contacts under the level(s) below.
I started trying to normalise this, and failed. My head hurts! I'm not a DB programmer at all, I simply run the IT department and this type of thing ends up on my desk.
Any help much appreciated, even if it's simply "you can't do this with access"
TIA, Alan