Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    If you'll notice my first query groups on car, so I get the max date for each car. You'd want to group on document.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  2. #17
    kimmer is offline Competent Performer
    Windows 7 Access 2010 (version 14.0)
    Join Date
    May 2010
    Posts
    100
    Don't pull your hair out.
    The probable answer has been given at least twice but it doesn't appear you are reading the posts.

    GROUP BY Document and MAX RevDate

  3. #18
    Kipster1203 is offline Advanced Beginner
    Windows XP Access 2000
    Join Date
    May 2010
    Posts
    54
    Quote Originally Posted by kimmer View Post
    Don't pull your hair out.
    The probable answer has been given at least twice but it doesn't appear you are reading the posts.

    GROUP BY Document and MAX RevDate
    I tried that car mileage one and it gave me the highest revision in each TYPE of document. Well that's great! BUT it's not showing me the highest revs in every project, it's filtering only by document name, here is what I have, maybe someone can help me tweak it

    SELECT Max(DataQuery.Revision_Number) AS Max_Rev, DataQuery.Document_Description
    FROM DataQuery
    GROUP BY DataQuery.Document_Description;

  4. #19
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Then it sounds like you should be grouping on project instead of document description?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filtering a Report
    By musicalogist in forum Reports
    Replies: 12
    Last Post: 04-29-2010, 08:36 PM
  2. Filtering a Query
    By jbarrum in forum Access
    Replies: 1
    Last Post: 11-20-2009, 03:03 PM
  3. Filtering data
    By billybong in forum Access
    Replies: 1
    Last Post: 11-07-2009, 12:20 PM
  4. Filtering in a report
    By SIM_2009 in forum Reports
    Replies: 1
    Last Post: 10-06-2009, 04:22 AM
  5. Report Filtering
    By HM1 in forum Reports
    Replies: 2
    Last Post: 07-06-2009, 06:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums