
Originally Posted by
Fatnecks
Hey everyone, first time poster here. I'm sort of a brute-force hack type, but I can usually manage to get done what I want to get done. I'm trying to create a simple query in an asset tracking database. I've created a super simple new dbase with just a few tables and records to demonstrate the problem.
I'm ultimately trying to get to a report that will show the latest oil change for each vehicle. So I figured I'd create a simple query first, then dump that into a simple report.
Tables:
1 - Service Type (Oil Change, Wash, Wax, Brakes, etc)
2 - Vehicles - just like it seems
3 - Service entries (Date, which vehicle, which type of service, notes, etc)
So in the database, I create a simple query (see Query1). It does as I'd hope and shows only the latest oil change for each vehicle. But I'd also like to add the notes field to the report. If I add the notes field into the query, the query seems to ignore the MAX in the totals area and shows ALL the service entries (see Query2).
This doesn't seem to be that complicated, but I can't seem to make it work. Advice? Thanks!