All, using access 2010. I am trying to keep from creating multiple queries for one solution. Have two table joined by custid. query: custid and state from one tbl and grossreceipts and costid from the other table. group by custid, state and costid and sum gross receipts. Then I need to get the max of sum gross receipts, group by custid, state and costid and add the results to another table. Do you see a way to get this down to possibly one query?