Maximum in Totals query
-
- 5StarLounger
- Posts: 627
- Joined: 03 Feb 2010, 15:02
Maximum in Totals query
I know in a totals query there is a maximum. How do I do a Maximum effective from date for a Client ID?
-
- Administrator
- Posts: 78415
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Maximum in Totals query
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.
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
Hans