I posed this question and received a response that worked well... as far as it went. I should have included a little more. Let me start with the old question and add a little more to it.
I have a pass through query that supplies data of the following format:
Item Date Indx
1 Nov 3 3
1 Nov 6 4
1 Nov 4 5
2 Nov 3 6
2 Nov 2 7
2 Nov 7 8
The change to the question below is that I also need to have the indx number returned to me.
I would like to know how I can pick the highest date for each item while ignoring the others. ie, I want to have Item 1, Nov 6 & item 2, Nove 7 and ignore all the others. I need this to happen on the fly. The reason for this is that there is other information that is date dependant and I would like to be able to build a query using this info while linking it to another table.
Thanks in advance! -- Again
Tom
I have a pass through query that supplies data of the following format:
Item Date Indx
1 Nov 3 3
1 Nov 6 4
1 Nov 4 5
2 Nov 3 6
2 Nov 2 7
2 Nov 7 8
The change to the question below is that I also need to have the indx number returned to me.
I would like to know how I can pick the highest date for each item while ignoring the others. ie, I want to have Item 1, Nov 6 & item 2, Nove 7 and ignore all the others. I need this to happen on the fly. The reason for this is that there is other information that is date dependant and I would like to be able to build a query using this info while linking it to another table.
Thanks in advance! -- Again
Tom