Results 1 to 5 of 5
  1. #1
    rassoc is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2022
    Posts
    1

    Querying multiple tables

    I have two tables
    • Properties
    • System


    In the System Table the Property ID field is included in each record to I can match the System record to the Properties record.

    I have set up the relationship as per the image below


    I need to run the following query

    Return Properties Fields & System Fields Where InstallDate >=Date

    Any help would be appreciated!



    TIA

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,776
    Did you try using the query builder? This ought to be quite simple: drag both tables into the table/query portion, join on the 2 id fields (drag primary id onto secondary id), add your fields to the grid and enter that criteria in your date field.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,906
    I have set up the relationship as per the image below
    You cannot just paste an image here like you can on other forums. Whilst it appears to be pasted, it gets removed when you post. You need to include it as an attachment. Then a thumbnail pic will be siplayed as a link to the actual pic.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142
    Both "Properties" and "System" are reserved words. I suggest changing them, and any other object names, to something not in this list:

    http://allenbrowne.com/AppIssueBadWord.html

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

Similar Threads

  1. Replies: 4
    Last Post: 07-24-2020, 02:30 AM
  2. Querying cascading tables
    By Brownie1987 in forum Queries
    Replies: 7
    Last Post: 11-05-2017, 01:45 PM
  3. Multiple users querying linked tables
    By vadnagra in forum Import/Export Data
    Replies: 6
    Last Post: 09-21-2016, 01:31 PM
  4. Querying 2 or more tables
    By NewbieInCT in forum Queries
    Replies: 12
    Last Post: 05-11-2012, 09:49 AM
  5. Querying from 2 tables
    By egnaro in forum Queries
    Replies: 6
    Last Post: 01-28-2010, 06:30 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