Results 1 to 2 of 2
  1. #1
    mbr661 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2011
    Posts
    1

    Help with Query Please: different values on duplicate records

    I have a table with 3 columns: ContractAcct, PREM, and LocNo.

    I created a query to show me duplicate ContractAcct numbers:

    100000341790 010106
    100000341790 010106
    100000341793 010108
    100000341793 010108

    I need now a second query that will show me only the ContractAcct numbers that have different PREM numbers.

    For example:



    100000341791 010106
    100000341791 010108

    Can anybody point me in the right direction?

    Thanks in advance

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Perhaps you need to create a "Totals" query (based on your existing query).
    Take a look at the link below:
    http://office.microsoft.com/en-gb/ac...005188531.aspx
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Query will duplicate records
    By funkygoorilla in forum Queries
    Replies: 3
    Last Post: 09-29-2011, 01:32 AM
  2. How to not show duplicate records in query?
    By JimmD43 in forum Queries
    Replies: 3
    Last Post: 05-29-2011, 02:54 PM
  3. Duplicate Query Reporting Unique Values...
    By Tomfernandez1 in forum Queries
    Replies: 5
    Last Post: 04-19-2011, 04:22 PM
  4. Adding duplicate values in a query
    By mooseisloose in forum Queries
    Replies: 3
    Last Post: 04-14-2011, 12:12 PM
  5. Assigning values to duplicate records
    By matteu1 in forum Queries
    Replies: 3
    Last Post: 02-17-2010, 10:35 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