Results 1 to 2 of 2
  1. #1
    jamierbooth is offline Novice
    Windows 7 64bit Access 2000
    Join Date
    Nov 2013
    Location
    Bristol
    Posts
    12

    Many to Many - Multiple clients and multiple contacts, and how to match them up

    Hi world,



    I'm in the process of building a client management database for my team and I'd like some suggestions/assistance as to how I can build a particular part of the DB.

    My design consists mainly of various different types of records that all relate back to the client, in a one to many style which is all very straightforward - addresses, financial, health, equalities etc

    1 part of the DB requires staff to record contacts or support workers that are related to the client, and rather than allow support workers to be loaded many times - I'd like for people to - starting from within a form showing a clients record, go to a form where staff can pick contacts from something (list or search...) or add them if they're not already there, and connect the contact back to that client.

    So far, to start the many to many relationship I have tblClients and tblContacts connected to eachother through a junction; tbljtnClientsContacts using the CustID and ContactID fields.

    Any ideas or suggestions on how to proceed when building this with forms and queries?

    Thanks!
    Jamie.

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    First, I'd refer you to MVP Roger Carlson's site at http://rogersaccesslibrary.com for his quick tutorials on database design. His examples of entity relationship diagrams should help you immensely in how to think about this stuff.

    Second, I'd ask what the difference is between a "client" and a "contact". If you hand one of your coworkers a person's name, how would they know which kind of person it was?

    I'm thinking that clients and related contacts all belong in the same table, and that any additional "status" information about the client/contact should be maintained in a related table. Information relating two client/contacts to each other would be in a junction table of some sort.

    Check out Roger's tutorials, then come back with your thoughts.

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

Similar Threads

  1. Replies: 3
    Last Post: 07-17-2013, 05:51 PM
  2. Replies: 14
    Last Post: 05-09-2013, 06:53 AM
  3. Replies: 3
    Last Post: 07-16-2012, 08:32 PM
  4. Replies: 14
    Last Post: 02-12-2012, 10:14 AM
  5. Replies: 5
    Last Post: 01-24-2012, 06:19 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