OK, I've read many solutions and used several methods for similar situations, but I keep getting odd results, of which are not what I want. I will try to explain in detail so that I can get the most customized results.
I have a training database with a table that has the following fields:
"Job Area" "Duty Area Number" "Task Number" "Task Name"
as well as a few other fields, but they all just contain extraneous info. Now I run a query that asks what "Duty Area" I want. I can input the Duty Area # and it returns all the Tasks from that Duty Area. Works great, all's good. Now I would like for the results to only return the last Task Number from that Duty Area, so after running the query, I should have only one record returned to me. I have tried using the DMAX function as well as several other ways using Macros and others. Maybe I'm not putting the code in right or in the right place. This seems soooo simple but it is kicking my rear in a bad way! Can someone please help?! Let me know if you need any more info to clear things up.