Results 1 to 2 of 2
  1. #1
    Accessbeginner23 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Location
    Wisconsin
    Posts
    2

    Finding values in a table that are not in another table

    Good morning,

    I am creating a database and importing records from an Excel spreadsheet. I imported records from the spreadsheet and have since added other records to the table. The columns in the spreadsheet were Model #, Serial #, etc. Now after I have created the table in Access and imported that information, I have decided that it would be nicer to create another table with all of the model numbers, brand name of equipment, etc. and then have a look up column in the main table point to the model number table. I imported all of the model numbers from the spreadsheet into my database and then ran a query eliminating the duplicate model numbers. My problem is that when I try to create the look up column from the tblequipment table to the tblModelNo table, it gives me an error message saying the it can't be created because there are records in one of the tables that don't match records in the other table. What kind of query do I need to create to find the values that don't match?

    I hope I've given enough information and don't sound to confusing.

    Thanks

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You want an "Unmatched Query". Take a look at the "Find Unmatched Query Wizard" in Access. It will walk you through setting up an Unmatched Query.

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

Similar Threads

  1. finding last record in a table/form
    By clue74 in forum Access
    Replies: 3
    Last Post: 07-19-2012, 06:46 AM
  2. Finding Table Aliases
    By hfile in forum Access
    Replies: 2
    Last Post: 12-26-2011, 02:38 PM
  3. Finding table in form
    By Anne in forum Access
    Replies: 2
    Last Post: 09-22-2011, 01:56 AM
  4. Replies: 0
    Last Post: 07-26-2011, 02:03 PM
  5. Replies: 2
    Last Post: 06-20-2010, 06:54 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