See, I tried it that way too. It makes logical sense, but instead of giving me the most recent datefield.record, it instead filters out all of the entries that have the same ID but different dates.
i.e. from the original table
uid|name|personnel#|end date
1|John Smith|1234|10/12/2009
2|Susan...
Table: SAP DED DUMP
Query: qrySAP DED DUMP
Original query SQL:
Ok using a specific personnel number, I know there are two records for this query (using a particular person's id# in the place of nnnnnn as an example).
What happens is an employee may change pay grades at any point in time...