Results 1 to 6 of 6
  1. #1
    alouest is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    3

    Problem with tables (beginner)

    Hello,
    My database is based on a table nammed Places wich contains FIPS code ID_places ZIP and name of places. I have 355 records in this table.


    Attached to that by ID_places, i have a table which display the business and kind of business in those places. The problem is that i just have 250 different places in this table. I would like that while I do my querry, access display the 355 places and 0 as values for the cities which doesnt have information in the business table. Is that possible? Do I have to fill the 105 missing places with 0 in my business table?
    Thanks verry much

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    With your query in design view, edit the join between the two tables by right-clicking on the join line, and select the appropriate join.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    alouest is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    3
    Click image for larger version. 

Name:	Untitled.png 
Views:	7 
Size:	5.7 KB 
ID:	7060
    Thanks for the answer but I don't get it. Well i have this problem for several tables so let's take another example.
    There are 355 Places in the Places table, which all have a FIPS.
    There is an airport in 328 places so in airport table I have 328 Fips, ARP_within_miles is if there is an airport within 5 miles the place. But I just put the 1 (yes value).
    So what I want as result it's a table with the 355 places and beside that the 1 form my airport table and 0 for the city who doesnt have.
    Is it possible or do i need to put the 355 places in the airport database and fill with 0 for those who dont have any airport

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Right-click on that line between the FIPS fields to edit the join. You'll see a choice like "Include all records from Places...".
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    alouest is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    3
    Ahh that's what you meant, sorry! Thank you verry much you make my day

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Relationship problem with Tables
    By comteck in forum Access
    Replies: 7
    Last Post: 12-28-2011, 03:45 PM
  2. Problem with linked tables
    By meijermartijn in forum Import/Export Data
    Replies: 6
    Last Post: 08-24-2011, 01:48 PM
  3. Help a DB beginner
    By adquinn in forum Access
    Replies: 0
    Last Post: 02-08-2011, 08:25 PM
  4. Relating 2 Tables - Relational Problem
    By jeng in forum Database Design
    Replies: 5
    Last Post: 04-01-2010, 09:25 PM
  5. Beginner - 3 tables in 3 loops
    By dsasorin in forum Database Design
    Replies: 2
    Last Post: 03-20-2010, 06:22 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