Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Thanks June7 it is above and beyond my expectations that you have gone to so much trouble to help me. I will try and work my way through this and see if I can implement some of this technique for my project.

    I think I can utilise this for at least adding a client to a site and updating junction table in process... maybe can add this asa subform to my frmSites

    Thanks again

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Okay good luck.
    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. #18
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Yes it is one extra link in chain however it works and I can just get the users to add client to site if a site does not appear in filtered combo.

    Thanks buddy

  4. #19
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    OK now I have come to similar problem with Clients/ Sites/ Contacts. I can have Contact in subform with Sites and it therefore links to sites however now i cannot link it to client as well.

    Essentially relationship is every client has one major contact - management at head office
    (this part is easy as can be stored in client table)

    Then each client can be at number of sites and each site can have a number of clients (we have sorted this situation with massive thanks to June7).

    Now the next issue in this sequence is there must be a specific client site contact for each client that is on a specific site of which relationships exist;
    - 1 site may have multiple clients and each client must have a contact specific to each site
    - 1 client may serve multiple sites and therefore must have a specific contact for each site


    As a result of this My ClientSiteContact table has been set up with foreign keys of both the clientID and the SiteID of the corresponding tables together with a unique clientsitecontactid. This is all very well and I think the relationship is correct however this also leads me to a similar problem...

    How do I now input this data? How do I get the clientID and SiteID into this table so that when the ClientSiteContactID is requested it will accurately return the specific contact for the specific client at the specific site?

    Thinking maybe a seperate form such as Clientsitejunction form and getting user to link contact or maybe i can use the dual primary key values that already exist in clientSitesJunction table to somehow simply link the clientsitecontact to?

    Are these valid ideas? any input as usual is much appreciated, can't believe how many brick walls I seem to be hitting

    thank you

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Enter Data into a Junction Table
    By darkwan75 in forum Database Design
    Replies: 3
    Last Post: 04-13-2011, 08:55 PM
  2. Updating a Junction Table
    By oleBucky in forum Forms
    Replies: 4
    Last Post: 04-05-2011, 04:59 PM
  3. Junction Table
    By mae3n in forum Database Design
    Replies: 2
    Last Post: 01-15-2011, 10:23 PM
  4. Populating a form with table data!
    By Extracash in forum Forms
    Replies: 6
    Last Post: 09-13-2010, 05:47 AM
  5. Form data not populating in table
    By sabrown in forum Forms
    Replies: 0
    Last Post: 08-27-2009, 08: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