Results 1 to 3 of 3
  1. #1
    acrowe97 is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Aug 2018
    Posts
    41

    Append Query no duplicates or replace data

    I have two tables in this tenant database, one that has the contact info of the main contact for each tenant (phone, email, etc.), and one that has the contact info for the rest of the people that work for that tenant (named Tenants and Permissions, respectively). I have a report that uses a query to search for this contact info, but I need it to report info from both Tenants and Permissions so I don't need to have duplicate data. Any suggestions?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    you should have one table for your contacts and include a field to indicate who is the main tenant e.g.


    TenantPK...TenantName...TenantFK
    1...…………...Fred...…………...0 (or null) - main tenant
    2...…………...Harry...………….1
    3...…………….George...……….1
    4...…………….Sid...……………..0 (or null) - main tenant
    5...…………….Bob...…………….4
    6...…………….Nancy...………..1

  3. #3
    acrowe97 is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Aug 2018
    Posts
    41
    Oh jeez I didn't event think of that... thank you.

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

Similar Threads

  1. Update and Append Query with duplicates
    By j4rmmbll in forum Queries
    Replies: 5
    Last Post: 06-05-2018, 06:32 PM
  2. Exclude duplicates append query
    By rayted in forum Queries
    Replies: 5
    Last Post: 03-05-2018, 10:17 AM
  3. Append Query to a table (Without Duplicates)
    By cmorten in forum Queries
    Replies: 12
    Last Post: 11-28-2016, 02:44 PM
  4. Append query without duplicates using two id's
    By sdel_nevo in forum Queries
    Replies: 2
    Last Post: 02-20-2015, 08:25 AM
  5. Append query creating duplicates
    By dhicks19 in forum Queries
    Replies: 1
    Last Post: 05-14-2012, 06:36 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