Results 1 to 2 of 2
  1. #1
    kje7713 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2013
    Posts
    3

    Building Queries

    I have two tables:

    Table 1
    Name
    DATA FIELD 1

    Table 2
    Name
    DATA FIELD 2

    In the query I need all the names from table 1, data field 1, and data field 2. However, only some of the names in Table 1 also exist in Table 2 (i.e. its a selection of the names where data field 2 is applicable, rather than all Names with 0s or blanks where a name has no data field 2).

    My query is being limited by the number of names in Table 2, rather pulling in all names from Table 1, and where applicable Data Field 2.

    Any thoughts on how to accomplish this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,600
    Change the query jointype to "Include all records from Table1 and only those from Table2 ..."
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Building my own Collection(s)
    By Rawb in forum Programming
    Replies: 2
    Last Post: 12-14-2012, 01:01 PM
  2. Building Relationship: one to many
    By Keeper in forum Access
    Replies: 1
    Last Post: 04-25-2012, 05:31 PM
  3. Building a FAQ
    By Karin in forum Access
    Replies: 5
    Last Post: 03-07-2011, 11:26 AM
  4. Building
    By jlech1805 in forum Access
    Replies: 1
    Last Post: 11-17-2010, 12:10 PM
  5. Building Array
    By jgelpi16 in forum Forms
    Replies: 12
    Last Post: 03-22-2010, 12:33 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