Hello,
I have two tables, tblEmployees, tblEmployeePayment. tblEmployees has the following fields.
EmployeeID
Name
Salary
Status
Employeegroup
Data for this table comes from our payroll system. The other table, tblEmployeepayment, which has many to one relationship with tblEmployees has the following
EmployeeID
PayPerioddate
Paybegdate
Payenddate
Salary
data into this table is entered by the users. The reason I have salary on this table is becasue I want to keep the salary history for each payperiod. So if an employee get a raise in May I want to know how much he was paid in April. What I would like to do is papulate the salary field in tblemployeepayment based on tblemployees. I don't want to do lookup because we get new updated tblemployees everymonth. I tried to do an update query but I couldn't figure it out how to update this field.
I have two tables, tblEmployees, tblEmployeePayment. tblEmployees has the following fields.
EmployeeID
Name
Salary
Status
Employeegroup
Data for this table comes from our payroll system. The other table, tblEmployeepayment, which has many to one relationship with tblEmployees has the following
EmployeeID
PayPerioddate
Paybegdate
Payenddate
Salary
data into this table is entered by the users. The reason I have salary on this table is becasue I want to keep the salary history for each payperiod. So if an employee get a raise in May I want to know how much he was paid in April. What I would like to do is papulate the salary field in tblemployeepayment based on tblemployees. I don't want to do lookup because we get new updated tblemployees everymonth. I tried to do an update query but I couldn't figure it out how to update this field.