Customer DB Setup

J

jsccorps

Question about the best way to set up a DB.
I would have a form where the manager would (e.g., using check boxes)
indicate services provided and the employees providing the service.
Not clear on the best approach. Should I use three tables:

Customer (with customer information)
Employees (employee information)
Services (list of services that can be provided to a customer)

and somehow associate the customer with the employee providing services?
I'm not sure how to do this.

Or, wouldl it be better to combine the Employee and Services information
into a single table?
 
S

Steve

TblEmployeeType
EmployeeTypeID
EmployeeType Employee, Manager

TblDepartment
DepartmentID
Department

TblEmployee includes managers
EmployeeID
EmployeeFirstName
EmployeeLasttName
DepartmentID
EmployeeTypeID

TblService
ServiceID
ServiceDesc

TblServiceProvided
ServiceProvidedID
ServiceID
DateServiceProvided
ManagerReportingServiceProvidedID Foreign Key to EmployeeID in
TblEmployee

TblServiceProvidedBy
ServiceProvidedByID
ServiceProvidedID
EmployeeID

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top