Results 1 to 2 of 2
  1. #1
    starkeymd is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    1

    Look Up Tables and Filter Results

    Hi guys,

    Sorry but I'm a complete novice at this so please bear with me!

    I've created a table (Films). One of the fields is linked to another table (People). The table 'People' is a list of people with a categorisation next to them (e.g. actor, director etc)

    Is there a way that I can create a field called 'Actors' in the table 'Films' and for the drop down only to display those people who have been categorised as an actor?

    Hope this makes sense. Many thanks



    Mark

  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
    You need 3 tables because these entities have many-to-many relationship.

    People
    PeopleID
    FirstName
    LastName

    Films
    FilmID
    DirectorID (foreign key from People, assumes film has one director, however, I know there are exceptions)
    FilmName

    FilmsActors
    ID (primary key)
    PeopleID (foreign key)
    FilmID (foreign key)

    How do you want to handle people who are actor and director? This may be a case that justifies Yes/No columns in People table, one for Actor and one for Director. Use these two columns to filter combobox RowSource for Director and Actor.
    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. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  2. Replies: 9
    Last Post: 12-11-2011, 07:16 PM
  3. Combining results from unrelated tables
    By jwreding in forum Queries
    Replies: 7
    Last Post: 08-12-2011, 01:19 PM
  4. Replies: 12
    Last Post: 12-17-2010, 05:35 PM
  5. cbo to filter results from a query
    By nianko in forum Forms
    Replies: 5
    Last Post: 08-18-2010, 09:43 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