Results 1 to 4 of 4
  1. #1
    NotaryEtc is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    22

    How do I run a query to show my customers and ALL of their services?

    Hello all,



    I have the following tables:

    CustomerT
    MVT
    NotaryT
    GDT

    My CustomerT has a many to many relationship with my MVT and also with my NotaryT using junction tables.

    I have a one to many relationship with my CustomerT and my GDT (one customer can have many gd records)

    How do I run a query that shows ALL of the services that any one customer has received? The only details I need are the customer name, service received, date received.

    This seems like it should be easy but I can't seem to figure it out.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    This seems like a simple joining of tables. What exactly is the issue you encounter? Have you used the query builder?
    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.

  3. #3
    NotaryEtc is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    22
    I clicked on query design, added the tables, and brought in the fields.....but it doesn't return any records.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    What are the join types? INNER joins will require related records in all tables. Possibly should be RIGHT or LEFT joins. Post the sql statement for analysis. Which are junction 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. Replies: 5
    Last Post: 03-24-2014, 07:04 AM
  2. exposing Access / web services
    By gregnell00 in forum Access
    Replies: 1
    Last Post: 09-06-2011, 04:06 PM
  3. Customers unsold this month Query
    By Rpuzwebb in forum Queries
    Replies: 3
    Last Post: 01-23-2011, 10:00 PM
  4. Replies: 11
    Last Post: 12-09-2010, 10:55 PM
  5. Delete query, deleting customers froma table.
    By keithsrobinson in forum Queries
    Replies: 2
    Last Post: 02-14-2006, 11:33 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