Hello
I have a query in access that can have multiple records for one unique id. Each time the record is modified, it saves that record. I do have a field called: LAST_MODIFIED_DATE with values similar to what is below
LAST_MODIFIED_DATE 3/7/2024 11:30 3/7/2024 11:27 3/7/2024 13:36 3/13/2024 9:01
If I try doing a count on this query and use MAX for the LAST_MODIFIED_DATE, I thought it would just return the records with 3/13/2024 9:01, but it is not, I still get all of the records.
Is there other criteria that I need to use to return the newest record? I did add IS NOT NULL to not return the blank field as shown but the COUNT and selecting MAX does not return the one record for some reason
thanks


Reply With Quote

