Results 1 to 5 of 5
  1. #1
    punna111 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    16

    Exclamation How to achieve result without duplicates

    Hi All,


    Here is the my Table: It consists 8 records (including one duplicate record based on Invoice No.)

    Invoice No. code name Section amt
    56577 FG- 0316 ABC Transcription Services, Inc. cw 8993
    56578 FG- 0317 ABJT Structural Engineers, LLC tw 9003
    56579 FG- 0318 Absolute Staffing Solutions, Inc. tw 9004
    56580 FG- 0319 Academic Network, LLC tw 9005
    56568 FG- 0415 9th Dimension Cleaning & Painting, rh 8994
    56575 FG- 0515 ABC LLC dv 2000
    56575 FG- 0516 ABC cw 8991
    56576 FG- 0616 Abbott & Associates Professional Placement, Inc. cw 8992

    When i do a query with Invoice No., amt fields I am Getting 7 records, and for amount field I am doing sum. That is the result I am looking.

    But including Name field. When I include Name field it is giving 8 records hence 56575 invoice No. has two different names.
    How can I achieve this as shown below: Below is I want. It's allowed to give any name- ABC LLc or ABC for 56575 Invoice No.

    I am unable to do this query and struggling from past 2 weeks. Let me know if you need additional details. I tried Many ways.



    Is this is not possible in MS Access?. Please help me, Thanks.

    Invoice No. name amt
    56577 ABC Transcription Services, Inc. 8993
    56578 ABJT Structural Engineers, LLC 9003
    56579 Absolute Staffing Solutions, Inc. 9004
    56580 Academic Network, LLC 9005
    56568 9th Dimension Cleaning & Painting, 8994
    56575 ABC 10991
    56576 Abbott & Associates Professional Placement, Inc. 8992

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Change Group By to Min, Max or whatever on the name field.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,456

  4. #4
    punna111 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2014
    Posts
    16
    Thank you very much Paul.

    To get the quick response I posted in multiple forums. But still all are redirected here for tables.

  5. #5
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Happy to help!
    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. Changing from duplicates OK to no duplicates
    By bellczar in forum Access
    Replies: 2
    Last Post: 11-01-2014, 11:40 AM
  2. How to link tables to achieve following.
    By hanns.g in forum Database Design
    Replies: 3
    Last Post: 04-01-2014, 01:58 PM
  3. How do I achieve late binding on a Chart?
    By RocketMonkey in forum Forms
    Replies: 1
    Last Post: 02-12-2013, 02:11 PM
  4. Replies: 9
    Last Post: 01-20-2013, 10:27 PM
  5. Help with Relationships and how to achieve a goal.
    By kimhuff in forum Database Design
    Replies: 8
    Last Post: 03-10-2011, 12:56 PM

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