Results 1 to 3 of 3
  1. #1
    DF_IH is offline Novice
    Windows 11 Office 365
    Join Date
    Sep 2022
    Posts
    1

    Confusion on the use of table joins and relations to combine tables

    Hi All,

    I have very limited Access experience. I used it briefly during higher education so forgive me if this question has a simple solution!

    I am currently working on a post code lookup database. I have been asked to associate levels of deprivation in the UK with a post code.
    Click image for larger version. 

Name:	Screentshot.PNG 
Views:	13 
Size:	7.4 KB 
ID:	48820


    I have 4 tables
    • PC(2) - The main table I hope to join values to, each post code is unique so I set it as the primary key. There are many post codes for each LSOA code and the decile field is empty.
    • SIMD - a table containing the LSOA codes of Scotland and the decile of SIMD rank, LSOA Code is unique in this table so I set it as the primary key.
    • WIMD - a table containing the LSOA codes of Wales and the decile of WIMD rank, LSOA Code is unique in this table so I set it as the primary key.
    • IMD - a table containing the LSOA codes of England and the decile of IMD rank, LSOA Code is unique in this table so I set it as the primary key


    I am trying to join the tables so the values contained within the Decile field of the Welsh, Scottish and English tables populate the decile column of the PC(2) table. I have played around with relationships and query's and become overwhelmed and am aware I have no idea what I'm doing.



    How would I go about joining the tables together?

    Thank you and have a wonderful day!

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,002
    I think you should have just two tables

    PCD
    LSOA11DC
    DECLIES

    and adjust your second table to have an extra field

    LSOA11DC
    COUNTRY
    DECLIE

    Then your query(s) should get much simpler, assuming the LSOA11DC fields are unique across the Country areas?
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,778
    I believe there is a free simplified version here (note: I am not affiliated with the site). No idea if the design is available to you though should you need that.

    https://www.mendipdatasystems.co.uk/...594138311.html
    Last edited by Micron; 09-28-2022 at 10:13 AM. Reason: added comment
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 1
    Last Post: 04-17-2020, 09:01 AM
  2. Confusion with many-to-one relations
    By BDibz in forum Forms
    Replies: 6
    Last Post: 02-27-2018, 01:57 PM
  3. Confusion with table relations
    By BusDriver3 in forum Database Design
    Replies: 13
    Last Post: 08-21-2011, 01:48 PM
  4. Replies: 7
    Last Post: 01-28-2011, 11:15 AM

Tags for this Thread

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