UncleHuckleberry
Technical User
I have a table called tblCodes:
ItemNo, CodeNo, DateEntered
1 1 12/10/2004
1 2 13/10/2004
1 3 14/10/2004
I want a query that shows the latest DateEntered for each ItemNo and the corresponding CodeNo to go with it. If I have a MAX on date entered and a GROUP BY on CodeNo it shows all the CodeNo's for each ItemNo at the moment.
Thanks.
"When the going gets wierd, the wierd turn pro" - R. Duke
ItemNo, CodeNo, DateEntered
1 1 12/10/2004
1 2 13/10/2004
1 3 14/10/2004
I want a query that shows the latest DateEntered for each ItemNo and the corresponding CodeNo to go with it. If I have a MAX on date entered and a GROUP BY on CodeNo it shows all the CodeNo's for each ItemNo at the moment.
Thanks.
"When the going gets wierd, the wierd turn pro" - R. Duke