Hi All, hope someone can help.
I have a number of tables that hold staff names and hours worked. These are then appended to the MASTER table, however a staff member can work in multiple areas and therefore can appear in the MASTER table multiple times. I now need to get the data into a format for import to the payroll system(Lets call table PAYROLLIMPORT), this I can do however where I have a staff member entered multiple times i need to enter their (first set) of hours in the PAYROLLIMPORT.basic field and their (second set) of hours PAYROLLIMPORT.basic2 field and so on.
I thought I should do an initial append and then follow with an update however the first value is used onthe update so i need to find someway of excluding the first value for the second update query and so on. Any assistance greatly appreciated.