foxtrot123
Registered User.
- Local time
- Yesterday, 23:30
- Joined
- Feb 18, 2010
- Messages
- 57
I'm trying create a database to track contact information and calls (date, time, outcome) placed to:
1) businesses (e.g., calls to a main number),
2) business front desk people (e.g., a business may have 0, 1, or many front desk people)
3) business employees (calls to each employee), and
4) freelancers (calls to individuals who are not part of a business).
Business front desk people and employees usually, but not always, have the same phone and fax number as the main business.
For businesses, I also need to track what type of business it is (e.g., finance, textiles, etc.).
To track the contact info., here's what I have so far:
tblBusinessType
---------------
BusTypeID (PK)
BusType (e.g., Finance)
tblBusinesses
-------------
BusID (PK)
BusTypeID (FK to tblBusinessType)
BusName (e.g., the XYZ Group)
BusAddress...
tblFrontDeskPeople
-------------------
FDID (PK)
BusID (FK to tblBusinesses)
FDLastName
tblEmployees
--------------------
EmployeeID (PK)
BusID (FK to tblBusinesses)
EmpLastName
tblFreelancers
--------------
FreelancerID (PK)
FrLastName
tblNumbers
----------
NumberID
BusID (FK to tblBusinesses)
FDID (FK to tblFrontDeskPeople)
EmpID (FK to tblEmployees)
NumberType (e.g., main, fax, cell)
NumberFull
I realize tblNumbers isn't too graceful, but I think it'll give me the flexibility I need without getting things overly complicated (i.e., many-to-manys). Or will this give me major problems? (I don't need to do any fancy queries or reports with phone numbers.)
As for tracking calls, should I use an approach similar to tblNumbers? I realize that for each record 2 of the 3 FKs will always be blank, but I can handle that. I think it will still allow me to make an easy-to-use GUI and track call info for each entity.
But perhaps I'm way off. Any suggestions?
1) businesses (e.g., calls to a main number),
2) business front desk people (e.g., a business may have 0, 1, or many front desk people)
3) business employees (calls to each employee), and
4) freelancers (calls to individuals who are not part of a business).
Business front desk people and employees usually, but not always, have the same phone and fax number as the main business.
For businesses, I also need to track what type of business it is (e.g., finance, textiles, etc.).
To track the contact info., here's what I have so far:
tblBusinessType
---------------
BusTypeID (PK)
BusType (e.g., Finance)
tblBusinesses
-------------
BusID (PK)
BusTypeID (FK to tblBusinessType)
BusName (e.g., the XYZ Group)
BusAddress...
tblFrontDeskPeople
-------------------
FDID (PK)
BusID (FK to tblBusinesses)
FDLastName
tblEmployees
--------------------
EmployeeID (PK)
BusID (FK to tblBusinesses)
EmpLastName
tblFreelancers
--------------
FreelancerID (PK)
FrLastName
tblNumbers
----------
NumberID
BusID (FK to tblBusinesses)
FDID (FK to tblFrontDeskPeople)
EmpID (FK to tblEmployees)
NumberType (e.g., main, fax, cell)
NumberFull
I realize tblNumbers isn't too graceful, but I think it'll give me the flexibility I need without getting things overly complicated (i.e., many-to-manys). Or will this give me major problems? (I don't need to do any fancy queries or reports with phone numbers.)
As for tracking calls, should I use an approach similar to tblNumbers? I realize that for each record 2 of the 3 FKs will always be blank, but I can handle that. I think it will still allow me to make an easy-to-use GUI and track call info for each entity.
But perhaps I'm way off. Any suggestions?