Results 1 to 3 of 3
  1. #1
    Assamita is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Posts
    4

    Missing records

    Hi everyone. I have a question that for you is probably very simple, but I'm just getting into Access and I don't know how can I do this.

    I have a table that looks something like this:

    SAP user Complete name
    USER1 First1 Last1
    USER2 First2 Last2
    USER3 First3 Last3
    USER4 First4 Last4
    USER5 First5 Last5

    And then I have a linked excel with a large number of sales orders and the SAP user who created them.

    I want to have a query that converts that SAP user into the complete name, so I created a query with the two tables and linked the field SAP user. The problem is that the table is not the complete list of users, there might be others. So what happens is that the query populates only the registers that have SAP users that match the table, but leaves the rest out.



    Is there any way to create a query with all the registers of the linked excel, and then have a column with the Complete name if the user exists in the table, or leave it blank if it doesn't?

    I hope I explained myself properly.

    Thank you

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,987
    Use an outer join query where the query uses all excel records and the other table where records exist.
    The query join will show an arrow pointing away from the Excel file
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Assamita is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2016
    Posts
    4
    Thank you! that was very helpful! (and as I expected, very simple).

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

Similar Threads

  1. Replies: 6
    Last Post: 05-15-2018, 11:45 AM
  2. Missing Records
    By colenzo in forum Access
    Replies: 3
    Last Post: 03-22-2012, 03:05 AM
  3. Continuous forms records missing
    By KWarzala in forum Forms
    Replies: 2
    Last Post: 12-28-2010, 12:42 PM
  4. Missing records when importing
    By marubal21 in forum Import/Export Data
    Replies: 2
    Last Post: 08-25-2010, 09:07 AM
  5. Find Missing Records
    By Flanders in forum Queries
    Replies: 6
    Last Post: 06-24-2009, 07:02 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