Hello Access Friends,
I am having trouble writing a query. Here is what I am trying to accomplish:
I have 3 tables: 1981-1990, 1991-2000, and 2001-2003
Each of these tables contains employee records with totals in each year.
I am trying to write a single query that will pull the record for any employee when prompted for the emp # and the data for that employee should appear from years 1981 through to 2003.
My problem is that sometimes the employee will only exist in the 1981-1990 table, sometimes only in the 1991-2000 table, sometimes only in the 2001-2003 table, sometimes in only 2 of the three tables or sometimes in all of the tables.
I have tried various joins and basing one query on another, but I can't get it going?
I have attached a zip file. I'm hoping someone can look at my queries and help me with this.
THANKS VERY MUCH IN ADVANCE!
BJS
I am having trouble writing a query. Here is what I am trying to accomplish:
I have 3 tables: 1981-1990, 1991-2000, and 2001-2003
Each of these tables contains employee records with totals in each year.
I am trying to write a single query that will pull the record for any employee when prompted for the emp # and the data for that employee should appear from years 1981 through to 2003.
My problem is that sometimes the employee will only exist in the 1981-1990 table, sometimes only in the 1991-2000 table, sometimes only in the 2001-2003 table, sometimes in only 2 of the three tables or sometimes in all of the tables.
I have tried various joins and basing one query on another, but I can't get it going?
I have attached a zip file. I'm hoping someone can look at my queries and help me with this.
THANKS VERY MUCH IN ADVANCE!
BJS