Results 1 to 2 of 2
  1. #1
    DaveT99 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Location
    SPAIN
    Posts
    96

    Extract Duplicate Key Field but have a 2nd Fieled different

    I have a single table called SPARES


    The table has 3 fields, Stock_No, Store_Id, Description
    In this data set there are duplicate Stock_Nos because

    • Same stock_no is held in different storage locations on site (Stock_no is linked to its makers part number)
    • But also there are true duplicates, same stock No in same location

    In some cases the part description has been created differently for the same stock_no

    I would like to extract all duplicate stock Nos where the descriptions are different

    I made a query to extract the duplicate stock Nos and another to show where the same stock no was located in the same store location (True duplicate)

    I then tried creating a 3rd query based on the duplicate stock no query, but am struggling to extract the records with duplicate Stock_Nos but with different populated descriptions
    Can anyone help?
    Maybe it be done in a single query by you clever people?

  2. #2
    DaveT99 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Location
    SPAIN
    Posts
    96
    Hi VIP
    Thanks for your reply, BUT I am Not sure why but I am not seeing your reply when I am logged into my account, only when I hyper linke from the e mail and then I am not logged in, and its doesnt accept my log in details ...........computers grrrr or is it me
    Anyway tried your solution but it creates a extra row in my little demo database BUT will try in main application in the next 1 hours. Many thanks an interesting solution
    Dave

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

Similar Threads

  1. Extract text from a field
    By murleyj in forum Queries
    Replies: 7
    Last Post: 04-02-2015, 02:53 PM
  2. Replies: 1
    Last Post: 03-04-2013, 08:09 PM
  3. extract something from a field
    By tozey in forum Queries
    Replies: 4
    Last Post: 02-24-2012, 08:54 AM
  4. Extract certain values from field
    By tylerg11 in forum Programming
    Replies: 19
    Last Post: 09-23-2011, 03:27 PM
  5. How to extract names from 1 large field
    By Tepin in forum Access
    Replies: 1
    Last Post: 12-04-2006, 01:14 PM

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