The question I have is regarding the two highlighted rows in the attached picture. The results are from a query made on two tables.
Columns 1 - 7 are from one table Columns 8 - 13 are from another.
As you can see I have two entries for ID 1. This is because in the 2nd table there are two records relating to employee 693.
I only ever want one record per ID, the criteria is that result used from the second table should be the one that has the DateUpdated field (less than or equal to) and closest to the transactionDate in column 7.
Any ideas on how I go about doing this?
UPDATE* Ok thanks to the first suggestuin my results table now looks like the 2nd picture. I have a column that shows the differences between the two dates. So how do I now get the results to only show the row with the lowest number, for each ID?
UPDATE***
KR
Chris


