I want to get the most recent item per client from a table.
ItemID (primary key, autonumber)
Date (date)
ClientID (foreign key, integer)
If I select ClientID (group by), Date (Max), then I get the results I'm expecting, but I want to also return the ItemID so that I can join some other tables. I can't find a way to do that without changing the query results.
Please could someone tell me what I've missed?
Thanks.
ItemID (primary key, autonumber)
Date (date)
ClientID (foreign key, integer)
If I select ClientID (group by), Date (Max), then I get the results I'm expecting, but I want to also return the ItemID so that I can join some other tables. I can't find a way to do that without changing the query results.
Please could someone tell me what I've missed?
Thanks.