Results 1 to 2 of 2
  1. #1
    spyldbrat is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jul 2015
    Posts
    73

    Joined Tables Data Display Question

    Hello,



    I have a query with two joined tables.

    Table one displays a list jobs by client and table 2 displays the biller responsible for the client. If the client's name does not appear on the billers table, then results of the query does not display any jobs for that client from table one.

    How do I get the query to display the data so that all of the data from table one shows in my query regardless if the client exists on table 2

    I am not very strong in Access so please dumb down your response for me????

    SELECT OPA_Client.[Contract #], Biller.Biller, OPA_Client.[Customer Name], OPA_Client.[Billing Location], OPA_Client.[Customer PO #], OPA_Client.[Shipping Location], OPA_Client.Day, OPA_Client.Date, OPA_Client.[Actual Time In], OPA_Client.[Actual Time Out], OPA_Client.[Lunch Hrs], OPA_Client.[Actual Hrs], OPA_Client.[Effective Hrs], OPA_Client.[Bill Rate], OPA_Client.[Bill Amount], OPA_Client.[Employee Name], OPA_Client.[Temporary / Permanent Site?], OPA_Client.[State/Zip], OPA_Client.[Attendance Tran #], DateDiff("d",[date],Now()) AS Aging
    FROM OPA_Client INNER JOIN Biller ON OPA_Client.[Customer Name] = Biller.[Customer Name];

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You want to use a Left Outer Join from Table1 to Table2, instead of an Inner Join.

    See here for how to do that: http://ms-access-tips.blogspot.com/2...oin-query.html

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

Similar Threads

  1. Update Query with three joined tables
    By jadams0304 in forum Queries
    Replies: 9
    Last Post: 06-24-2017, 07:13 PM
  2. Counter in a query with joined tables
    By plus_stick in forum Queries
    Replies: 1
    Last Post: 10-30-2014, 06:36 AM
  3. Replies: 8
    Last Post: 06-04-2014, 10:01 AM
  4. Multiple Tables Joined ????
    By Ekim in forum Database Design
    Replies: 10
    Last Post: 01-15-2012, 07:08 PM
  5. Replies: 0
    Last Post: 06-15-2011, 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