Results 1 to 3 of 3
  1. #1
    Carloj is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    24

    multi primary keys relations in 1 table

    Im trying to understand databases but i got a problem.

    I got a table with items called "tblArtikel". In this table the supplier and customer of a item is registerd. The suppliers en customers are registerd in the table "Stakeholder". See image:
    Click image for larger version. 

Name:	tbl.PNG 
Views:	10 
Size:	17.6 KB 
ID:	35013




    Now i thought it would be possible to give them both a relation (like the image), but a query does not allow this/cant work this out.

    Is there a other way to do this?

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,157
    Add another copy of the table "Stakeholder" to your query.
    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
    Carloj is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    24
    Yes, thanks alot!

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

Similar Threads

  1. ODBC Import table drops primary keys
    By dweller569 in forum Import/Export Data
    Replies: 8
    Last Post: 05-22-2018, 12:41 PM
  2. Replies: 1
    Last Post: 01-27-2016, 04:30 PM
  3. Table allowing duplicate primary keys
    By Count Duckula in forum Access
    Replies: 4
    Last Post: 06-13-2013, 09:12 AM
  4. Replies: 11
    Last Post: 06-11-2012, 12:23 AM
  5. table relations & primary key
    By mwabbe in forum Access
    Replies: 9
    Last Post: 08-19-2010, 10:09 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