mike60smart
Registered User.
- Local time
- Today, 10:59
- Joined
- Aug 6, 2017
- Messages
- 2,175
Gotcha, I added tblAssignedEmployees and recreated the relationship as seen in your screenshot. In tblFacilities, I changed the datatype of "Assigned Employees" to number to agree with the relationship. With this change, would I be able to enter more than one employee in this field?Hi
I would imagine that a Facility would have Many Employees.
Your method of adding more than 1 Employee in the field "AssignedEmployees" is the wrong way to do this.
See the ER Diagram attached. You need a separate table to record "FacilityEmployees"
Can you upload your current database in zipped format?Gotcha, I added tblAssignedEmployees and recreated the relationship as seen in your screenshot. In tblFacilities, I changed the datatype of "Assigned Employees" to number to agree with the relationship. With this change, would I be able to enter more than one employee in this field?
Here you go. Its the same as before only with your corrections......Can you upload your current database in zipped format?
All Joins should be set as Option 1 for all related tables.Here you go. Its the same as before only with your corrections......
The synopsis is:OK so does tblFacility only ever have :-
1 Contractor & 1 Controller
Its deleted...No you need to delete the field "AssignedEmployees" from the Facilities table.
about 25 different locations in 3 different states including offshore oil rigs.So you are currently responsible for 1 specific Facility or Multiple Facilities ?
I'm not keeping up with me, each facility has their own techs. I am just the guy that keeps up with all this. (manager)about 25 different locations in 3 different states including offshore oil rigs.
Yes, the maintenance for these controllers is usually carried out by the assigned facility tech (total of 2), or myself (just me), and in the event no one within the company is available, I will call out 2 third party techs. to complete the task.So it is as follows:-
A Facility has Maintenance carried out by Yourself or Other Employees or Contractors.
We have assets on other facilities that are not within our company.What has the field "Company" got to do with the tblFacility details?
Does 1 specific Company own the Facility?
That is correct, not including the company I work for, there are 15 different companies with our assets that we have to maintain. We also pickup new companies from time to time.So Facility1 is within your Company
Then Facility2 can be owned by another Company
Then Facility3 is within your Company etc...
That is a really big difference from what I had!The attached ER is my first attempt at your process.
It is not 100% accurate as there are fields in some tables that need to be deleted.