Maximum in Totals query

matthewR
5StarLounger
Posts: 627
Joined: 03 Feb 2010, 15:02

Maximum in Totals query

Post by matthewR »

I know in a totals query there is a maximum. How do I do a Maximum effective from date for a Client ID?

User avatar
HansV
Administrator
Posts: 78415
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Maximum in Totals query

Post by HansV »

Create a query based on your table.
Add the Client ID field and the Effective From date field to the query grid.
Turn on Totals.
Leave the option in the Total row as it is for the Client ID field (Group By), and set it to Max for the Effective From date.
Best wishes,
Hans