I have a simple table with about 6 fields.
One of the fields is called Code.
Code Date
-----------------------
12345 12/10/10
12345 12/01/10
12345 11/30/10
so what I need to do is, if the code is the same say for five records, I only want one record to show that has the max date. so in the above case, what I want to show would be
code 12345 date 12/10/10
any help on this would be appreciated.
Thanks
One of the fields is called Code.
Code Date
-----------------------
12345 12/10/10
12345 12/01/10
12345 11/30/10
so what I need to do is, if the code is the same say for five records, I only want one record to show that has the max date. so in the above case, what I want to show would be
code 12345 date 12/10/10
any help on this would be appreciated.
Thanks