We needed a way for supervisors to enter attendance for their departments. So a I have a main form with a drop down list of sups. They pick and hit the command button to view a list of the employees they have. This command button on main form runs query of Employees table. Query has 3 fields Emp Name, Emp #, and Supervisor. The supervisor criteria comes from the drop down. That part works. The Employee name and # are the first two fields in datahseet view of subform. So I added 3 more fields on subform: Code, Hrs, and Comment. They will need to enter the data daily.
The problem I am having is saving the data. The control source for the Empl name and # is the Empl name and number field from the query. The 3 fields I added are unbound and i go to control source and the only two choices are name and number. I have a table set up to save the fields to. But that is not the source.
Basically, I think I need to change control source for the subform from the query that lists the employees to the table. But then how do I get the employee list to populate if those two fields' control source is the table? Sorry so long winded.
The problem I am having is saving the data. The control source for the Empl name and # is the Empl name and number field from the query. The 3 fields I added are unbound and i go to control source and the only two choices are name and number. I have a table set up to save the fields to. But that is not the source.
Basically, I think I need to change control source for the subform from the query that lists the employees to the table. But then how do I get the employee list to populate if those two fields' control source is the table? Sorry so long winded.