Results 1 to 2 of 2
  1. #1
    oexall is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    1

    new table with 5 old table records merged

    Hello Everyone,


    I have a table, Sales, each record of which is a customer and sales amount and zip.
    I want to construct a new table that has each record as the top five sales in each 3 digit zip area, with sale
    and name of each customer:

    so for all 787 zip codes, one record will look like:

    787 customer1 sales1 customer2 sales2 etc.

    I think that I can make summary records but not "merged data" records.

    Please help and thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    You want the top five sales record for each 3 digit zip? Review: http://allenbrowne.com/subquery-01.html#TopN
    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. Replies: 3
    Last Post: 10-02-2012, 12:25 PM
  2. Replies: 5
    Last Post: 03-23-2012, 11:40 AM
  3. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  4. Replies: 2
    Last Post: 09-13-2011, 11:21 AM
  5. Replies: 0
    Last Post: 02-24-2010, 12:56 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