Results 1 to 4 of 4
  1. #1
    thegrimmerdiscovery is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2017
    Posts
    30

    Creating Relationships in Queries

    Morning



    Put this down to my huge lack of experience with Access but could anyone give me a quick answer as to why you'd create relationships when designing a query? Shouldn't these relationships already be described in the database design...if you see what I mean??

    Thanks

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    When a query is created, tables (and queries) can be joined in different ways (inner/left/right joins) whether or not a relationship has been defined at table level.

    The main purpose of creating relationships between tables is to enforce referential integrity.
    See http://www.mendipdatasystems.co.uk/r...ps1/4594533224
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    thegrimmerdiscovery is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2017
    Posts
    30
    Many thanks for that Colin - I'll be keeping the hand-out close by for the foreseeable.

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    You're welcome. See related link to different query types on the same page
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Relationships and/or Queries
    By Rocky D. in forum Access
    Replies: 2
    Last Post: 07-29-2016, 03:10 PM
  2. Queries and relationships with Linked Tables
    By stardust1979 in forum Queries
    Replies: 3
    Last Post: 08-04-2014, 09:53 AM
  3. Creating Relationships between tables
    By jesterling in forum Access
    Replies: 2
    Last Post: 10-30-2012, 11:06 PM
  4. Tables, Relationships, and queries.
    By Andyjones in forum Access
    Replies: 2
    Last Post: 01-22-2012, 05:23 AM
  5. Creating Relationships and Queries
    By nacho in forum Database Design
    Replies: 4
    Last Post: 04-16-2010, 03:22 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