If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Customer DB Setup
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? |
#2
|
|||
|
|||
Customer DB Setup
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 "jsccorps" wrote in message ... 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? |
Thread Tools | |
Display Modes | |
|
|