G
Guest
I have a form called EmpPaySummary. The form is originally created from a
table called Payroll. This form contains EmpNo, EmpStatus (full-time or
part-time), Wage_Rate, HoursWorked, and Check_Amt. All of which are columns
in the Payroll table. The EmpNo, EmpStatus, Wage_Rate and check_Amt are text
boxes (that will be locked b/c they don't need to be udated by the user).
HoursWorked is a combo box because the user simply updates the hours worked
for each employee.
My goal is to have the user select the hours worked via the combo box and
then the check amount for each employee will be updated. I am having trouble
with this. I the hours worked combo box works however the form is not
updating the check_amt text box is not updating. I created a macro that is
run when the user updates the hoursworked combo box but I'm still having
trouble updating the check_amt field. the code for the macro is below.
Please, please help me.
UPDATE Payroll SET Payroll.Check_Amt = Payroll.Wage_Rate*Payroll.HoursWorked;
table called Payroll. This form contains EmpNo, EmpStatus (full-time or
part-time), Wage_Rate, HoursWorked, and Check_Amt. All of which are columns
in the Payroll table. The EmpNo, EmpStatus, Wage_Rate and check_Amt are text
boxes (that will be locked b/c they don't need to be udated by the user).
HoursWorked is a combo box because the user simply updates the hours worked
for each employee.
My goal is to have the user select the hours worked via the combo box and
then the check amount for each employee will be updated. I am having trouble
with this. I the hours worked combo box works however the form is not
updating the check_amt text box is not updating. I created a macro that is
run when the user updates the hoursworked combo box but I'm still having
trouble updating the check_amt field. the code for the macro is below.
Please, please help me.
UPDATE Payroll SET Payroll.Check_Amt = Payroll.Wage_Rate*Payroll.HoursWorked;