I'm sorry efen; I used your form incorrectly.
It works perfectly. Thank you. I would not have ever figured that out on my own.
I also need to sort on vehicle ID because I have more than one vehicle stored in the database, and then find the sum of the week ending milages for a quarter for each vehicle (Jan 1-Mar 31, Apr 1-Jun 30, Jul 1-Sep 30, Oct 1-Dec 31) and display them in a field for further use.