T
T D
I have a data entry form attached to and "Payroll" table. On this form I
have a combo box where I can pull down from field 1 the employees name (from
"Employees" table.) I next have a combo box where I can pull down the
employees department code (from "Departments" table.) There are other
fields that are filled out (i.e. Time Started, Time Ended, Date, etc.). All
these results are written to the "Payroll" table.
What I need to be able to do, is when the user enters the Employee Name and
tabs to the Department field, that this field is automatically filled in
with the users default department code (a field in the Employees table). In
other words when the user enters the weekly payroll time most of the time
the employees dept code will be the default dept code assigned to the
employee in the employees table, but sometimes this code need to be changed
if the employee works in another department.
Any suggestions please?
Thanks,
TD
have a combo box where I can pull down from field 1 the employees name (from
"Employees" table.) I next have a combo box where I can pull down the
employees department code (from "Departments" table.) There are other
fields that are filled out (i.e. Time Started, Time Ended, Date, etc.). All
these results are written to the "Payroll" table.
What I need to be able to do, is when the user enters the Employee Name and
tabs to the Department field, that this field is automatically filled in
with the users default department code (a field in the Employees table). In
other words when the user enters the weekly payroll time most of the time
the employees dept code will be the default dept code assigned to the
employee in the employees table, but sometimes this code need to be changed
if the employee works in another department.
Any suggestions please?
Thanks,
TD