Results 1 to 4 of 4
  1. #1
    Meld51 is offline Novice
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Posts
    2

    Table Relationships?

    Hello I'm completely new to Access 2007. I'm having difficulty with a tutorial. This is a very common scenario. I have 3 tables:


    Member
    Video
    Loan

    I create relationships but how do you make access know the type of relationship you want?

    I want members to loans to be 1 to many
    I want Loans to Videos to be 1 to 1

    but access decides differently, why? How can it know the relationship?

    How can I get what I want?

    Thanks

  2. #2
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    Access decides the relationship based on the fields you choose and weather or not those fields are primary keys or foreign keys. If you put a primary key filed in another table and then link that tables based on those two fields Access will give it a one to many relationship.

    Why would you want a 1 to 1. Does Loans to Videos track the the videos when they are loaned out. If so, will you not loan the same video out more then once?

  3. #3
    Meld51 is offline Novice
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Posts
    2
    Thanks,

    Someone else on another forum mentioned the 1 to 1 as being wrong. But is it to do with not letting the same physical object be loaned more than once simultaneously?

    I'm totally new with this so I can't say just yet.

    Maybe I'll find out as my abilities grow!

  4. #4
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    If you can explaine what a "loan" represents as well as a "video" then I will be able to explain. Are you loaning out videos? If so, can a video be loaned out, returned, and then loaned out again?

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

Similar Threads

  1. Table Design & Relationships
    By mastromb in forum Database Design
    Replies: 16
    Last Post: 12-30-2009, 10:35 PM
  2. Table Relationships
    By jp2access in forum Database Design
    Replies: 3
    Last Post: 06-19-2009, 10:20 AM
  3. Relationships btw tables
    By metaDM in forum Queries
    Replies: 0
    Last Post: 03-05-2009, 12:15 PM
  4. auto populate and table relationships
    By jmarti57 in forum Access
    Replies: 0
    Last Post: 11-09-2008, 09:50 PM
  5. I need help on relationships for tables.
    By justin.w in forum Access
    Replies: 0
    Last Post: 10-16-2006, 10:57 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