Results 1 to 2 of 2
  1. #1
    brucey54 is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2013
    Posts
    1

    Relationships

    Hi folks,

    Please could someone help me with the following problem?


    Why is it when I click on the TblCarerdetails and try to open a record with the plus sign I am present with the following error message

    Enter Parameter value CarerID

    The frmCarerRota seems to be working ok, the relationships seem to be ok i.e



    TblCarers can have many rotas i.e. a different TblRota each week (1 - M)

    TblClients can have different TblRotas each week (1 - M)

    Any help or feedback would be much appreciated

    I am hoping to understand why the tables are not linking correctly, if I click on the TblCarer plus sign.

    I should see the Rota details and a plus sign. If click on the plus sign, I should see the clients details.

    Therefore I am assuming that my relationships are not correct, I think I need to add an association table, but where and what fields do I need to add/create.

    Tom


    Happy New Year
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,626
    Guess I haven't worked much with many-to-many relationships. I don't allow interaction with tables so never gave this much thought but am thinking that is reason for this. TblRota is a 'junction' table that associates carers with clients. When I click the + on TblCarerDetails it prompts for CarerIDFK, I ignore it and then the subtable opens for TblClientDetails. Interesting. Personally, as long as the queries, forms, reports work properly, wouldn't worry about this. Just don't work directly with the tables.

    You might want to change the jointype of the relationships from INNER to "Include ALL records from 'TblRota' ..."
    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. Relationships
    By snowboarder234 in forum Database Design
    Replies: 14
    Last Post: 02-29-2012, 04:53 PM
  2. one-to-one relationships
    By bonecone in forum Database Design
    Replies: 3
    Last Post: 01-25-2012, 02:34 PM
  3. Replies: 15
    Last Post: 01-04-2012, 05:03 PM
  4. Relationships
    By funkygoorilla in forum Database Design
    Replies: 3
    Last Post: 10-30-2011, 10:30 PM
  5. Help with Many to Many Relationships
    By alpinegroove in forum Database Design
    Replies: 5
    Last Post: 03-24-2011, 01:12 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