I have searched the FAQ's and the messages left for the answer to my problem - but haven't got anywhere
I am trying to create an Absence & Sickness database for my Company and need to compare different tables of information. In a simplified version, I have a list of when people were absent (including dates) and in a seperate table I have a list of departments and the dates in which they worked in them.
What I need the query to do is to look at the date of the Absence and then compare that to the date in the second table to see which department they were working in
For example
TABLE 1
Emp No. Abs Start Abs End
7537 01/02/2003 02/02/2003
TABLE 2
Emp No. Department Dept Start
7537 HR 01/01/2003
7537 FINANCE 01/01/2004
What I would expect to see is that Employee 7537 was working in the HR Dept when he was absent
Any ideas would be greatly appreciated
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)
I am trying to create an Absence & Sickness database for my Company and need to compare different tables of information. In a simplified version, I have a list of when people were absent (including dates) and in a seperate table I have a list of departments and the dates in which they worked in them.
What I need the query to do is to look at the date of the Absence and then compare that to the date in the second table to see which department they were working in
For example
TABLE 1
Emp No. Abs Start Abs End
7537 01/02/2003 02/02/2003
TABLE 2
Emp No. Department Dept Start
7537 HR 01/01/2003
7537 FINANCE 01/01/2004
What I would expect to see is that Employee 7537 was working in the HR Dept when he was absent
Any ideas would be greatly appreciated
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)