Microsoft Access Query Group Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jwarchol
    New Member
    • Apr 2016
    • 1

    Microsoft Access Query Group Question

    CaseNumber MinOfDueDate Flag ddid
    04229.00.0197 5/21/2016 False 290051
    04229.00.0197 5/18/2016 False 290052

    I am running a query that groups on the casenumber and gets the minimum date where flag is false but I need the ID included and I cannot do this because the group by instruction on that field causes both records to show. Is there a way to handle this in access. I can't use first or last because the date and ddid order are not in chron order.

    HELP!

    Thanks

    JW
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Take the results of that query and join it back to the table.

    Comment

    Working...