Results 1 to 2 of 2
  1. #1
    hesca is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2012
    Posts
    14

    Question How to filter the row that contains the more recent date and make it part of a form?

    Hello experts.

    I need to filter rows from a purchases table, and only show one for every customer, the exact one for their latest purchase. I later need to include these rows on a tabular form so I can color code them by date using conditional formatting.

    How do I do this? How do I design a query that selects all the rows that meet these two criteria:



    1. Customer name (no duplicates)
    2. Purchase date (latest purchase from this customer)

    Any pointers are greatly appreciated

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Choose the row with the MOST RECENT date
    By taimysho0 in forum Queries
    Replies: 1
    Last Post: 05-14-2012, 02:35 PM
  2. Replies: 7
    Last Post: 02-29-2012, 06:37 AM
  3. Display Most Recent Date
    By jsimard in forum Queries
    Replies: 2
    Last Post: 06-23-2011, 02:44 PM
  4. Get Recent Record without Id or date
    By pyog in forum Queries
    Replies: 5
    Last Post: 04-19-2011, 09:43 AM
  5. Find command default make it Any part of field
    By techexpressinc in forum Forms
    Replies: 0
    Last Post: 03-15-2011, 07:34 AM

Tags for this Thread

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