I have a table which contains records with these fields:
ID#
Name
Date
Ref#
etc.,etc.
There are multiple records for the ID# and they usually have
different dates.
The etc, etc fields may be different in many ways.
However, there are times when dates may be the same as well.
In this case, the reference numbers should be different.
I need to SELECT the one record for the ID with the most recent date. If there are 2 records with the same date I
need the one with the highest REF#.
Can I do this with only queries?
Thanks!
ID#
Name
Date
Ref#
etc.,etc.
There are multiple records for the ID# and they usually have
different dates.
The etc, etc fields may be different in many ways.
However, there are times when dates may be the same as well.
In this case, the reference numbers should be different.
I need to SELECT the one record for the ID with the most recent date. If there are 2 records with the same date I
need the one with the highest REF#.
Can I do this with only queries?
Thanks!