Results 1 to 4 of 4
  1. #1
    JackL290 is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    2

    Query Multiple Zip Codes

    I have two tables, "Members" and "Zip Codes"



    I want to query all "Members" who live in any of the zip codes in "Zip Codes"

    There are over 900 zip codes in "Zip Codes"

    The two tables are not joined

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    If the tables are not joined, what info is in "members" that identifies the Zip code?

  3. #3
    JackL290 is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    2
    The "Members" table was imported from an Access Spreadsheet. It contains a field [Zip Code] that is not joined to table "Zip Codes." Table "Zip Codes" is a single field table with no ID field. I copy/pasted the zip codes from a web tool used to generate a list of zip codes in a radius. All records in "Zip Codes" are unique. Multiple records in the [zip code] field of "Members" could be in the same zip code.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Then build a query that does an INNER JOIN of the tables.
    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. Sql codes
    By hawke in forum Programming
    Replies: 1
    Last Post: 01-14-2015, 11:53 AM
  2. Display Unique Zip Codes From Query in Report
    By dascoli in forum Reports
    Replies: 2
    Last Post: 08-22-2014, 08:28 PM
  3. Inventory with Bar Codes
    By theperson in forum Access
    Replies: 2
    Last Post: 06-02-2013, 08:27 PM
  4. Zip Codes
    By Laurie B. in forum Access
    Replies: 6
    Last Post: 02-25-2011, 02:38 PM
  5. basic query codes
    By joms222 in forum Queries
    Replies: 1
    Last Post: 03-20-2009, 11:31 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