Results 1 to 2 of 2
  1. #1
    mimireyes is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    3

    QRY: Largest Purcase with $ & M/D/YY and Most recent Purch w $ & M/D/YY not working

    What I am trying to end up with is something that looks like this:

    Client Name
    (group by)
    Client ID#
    (first)
    Date of Most Recent Purchase:
    (max of purchase date)
    Purchase Amnt Date of Largest Purchase
    (purchase date)
    Purchase Amnt
    (max of purchase amnt)
    Other Info Field
    ABC 1 11/13/2012 $14.00 7/15/2012 $423.00 misc
    XYZ 2 11/1/2011 $180.00 10/12/2012 $480.00 misc










    I can't get this to work at all. My first set of results gave me 3 - 4 lines per client, with the same information on each line.
    Can someone suggest the best way to go about getting this information.

    Thanks,



    Mimi

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Show sample source data and the attempted sql statement.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Search for most recent
    By covesounds in forum Forms
    Replies: 1
    Last Post: 08-07-2012, 10:51 AM
  2. Pulling two most recent values (MAX)
    By AquaLady42 in forum Access
    Replies: 4
    Last Post: 07-22-2011, 08:04 AM
  3. Query to find the second largest year
    By hawkins in forum Queries
    Replies: 2
    Last Post: 07-05-2011, 11:17 AM
  4. Display Most Recent Date
    By jsimard in forum Queries
    Replies: 2
    Last Post: 06-23-2011, 02:44 PM
  5. most recent entries
    By tom4038 in forum Queries
    Replies: 0
    Last Post: 09-14-2009, 04:41 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