Hi All,
I have developed a report that runs a query to work out all the engineers wages for a particular week. I have a table called projects, all the hours that our engineers work on a particular project is recorded in a table called WorkSheets.
The Query asks for the date range and then the report details each engineer, where they worked, how many hours and then it calculates their wage, (via finding out the engineers hourly rate from the Staff table.
It works great and has increased accuracy and saves a lot of time.
However, there are flaws which I do not know how to tackle:
I have another table that records wages to be paid to our engineers that are not linked to a project. For example; this additional table records holiday, sick leave, and when I send engineers out to check a potentially new job, which I pay them for.
Question:
I can't get my head around how I should integrate this additonal table with my query/report. What I want is the report should show each days work by engineer, (as it already does), but then check the other table to see if they have been on holiday/sick leave etc, and add that to the engineers list of work. Then the calculations for their weekly salary will include any leave/sick.
At the moment I have cheated by making a project up called annual leave, and a project called sick leave and so on. However, this is not good as when I run a query for active projects it shows holiday and sick leave as a project.
Thanks
I have developed a report that runs a query to work out all the engineers wages for a particular week. I have a table called projects, all the hours that our engineers work on a particular project is recorded in a table called WorkSheets.
The Query asks for the date range and then the report details each engineer, where they worked, how many hours and then it calculates their wage, (via finding out the engineers hourly rate from the Staff table.
It works great and has increased accuracy and saves a lot of time.
However, there are flaws which I do not know how to tackle:
I have another table that records wages to be paid to our engineers that are not linked to a project. For example; this additional table records holiday, sick leave, and when I send engineers out to check a potentially new job, which I pay them for.
Question:
I can't get my head around how I should integrate this additonal table with my query/report. What I want is the report should show each days work by engineer, (as it already does), but then check the other table to see if they have been on holiday/sick leave etc, and add that to the engineers list of work. Then the calculations for their weekly salary will include any leave/sick.
At the moment I have cheated by making a project up called annual leave, and a project called sick leave and so on. However, this is not good as when I run a query for active projects it shows holiday and sick leave as a project.
Thanks