Here's the deal...
Developing a payroll system.
I have 3 tables:
One for employee information.
One for archiving current years earnings (each record = 1 week)
One for current earnings. (Identical to the archive table).
On the form for entering current earnings, I need the employees totals from the archive file as well as a lot of the info in the employee information table.
Heres the part i need help with...
What I think would be the ideal situation would be to create a query that would show the total earnings for each employee. (I've done this part and it works fine). THEN create another query that would include the employee information table and the aforementioned "totals" query. Then this query would be the data source for the data entry form.
Here's the problem....
The query based on the table and the totals query, only shows records for the employee's that have historical earnings. I understand why, but I need to have all employees in the employee info table displayed in the query (if they have no historical earnings, it would show zeros or nulls.
Is there anyway to make this happen?
Plan B is to use Dlookup from within the form, and I have done this and it works, but using the query would be more "elegant" and require less vba.
Thx
Larry
Developing a payroll system.
I have 3 tables:
One for employee information.
One for archiving current years earnings (each record = 1 week)
One for current earnings. (Identical to the archive table).
On the form for entering current earnings, I need the employees totals from the archive file as well as a lot of the info in the employee information table.
Heres the part i need help with...
What I think would be the ideal situation would be to create a query that would show the total earnings for each employee. (I've done this part and it works fine). THEN create another query that would include the employee information table and the aforementioned "totals" query. Then this query would be the data source for the data entry form.
Here's the problem....
The query based on the table and the totals query, only shows records for the employee's that have historical earnings. I understand why, but I need to have all employees in the employee info table displayed in the query (if they have no historical earnings, it would show zeros or nulls.
Is there anyway to make this happen?
Plan B is to use Dlookup from within the form, and I have done this and it works, but using the query would be more "elegant" and require less vba.
Thx
Larry