Results 1 to 4 of 4
  1. #1
    bwmwilson is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    2

    Creating a movie database - linking in actors

    I just completed a short and very basic database class and I want to create my own movie database for managing movies on my home computer. I am having a hard time finding the best way to add in actors to the database so that later on I can search by actors easily. I am sure it is easier than I think and I am overlooking something. So far I made an actor table and tried to create a relationship to the main movie table and it seemed to cause problems. I've also tried just having an actor field in the movie table. I know that how I have it setup now I can create a query using "*name*" and it will pull up any movie that has that name in the actor line but that does not seem very effective. I am looking for any suggestions on a better way to go about doing it. The end result is I want to be able to have a query where I can type in an actors name and it pulls up all their movies without having to use special characters or anything of that sort. Thanks in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Consider:

    tblMovies
    MovieID
    MovieName
    Director
    YearRelease

    tblActors
    ActorID
    LastName
    FirstName
    Birthdate
    etc.

    tblMovieActors
    MovieID
    ActorID
    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. #3
    bwmwilson is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    2
    Click image for larger version. 

Name:	tables.png 
Views:	30 
Size:	37.6 KB 
ID:	15052

    Something like what is attached? If so the instructor touched on this for assigning students to a class with tables like this setup but never made it clear on how to get them to work/populate right.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Use form/subform arrangement for data entry. Options:

    1. main form bound to movies and subform bound to MovieActor with combobox to select actors

    2. main form bound to Actors and subform bound to MovieActor with combobox to select movies
    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: 8
    Last Post: 11-14-2013, 12:27 PM
  2. How to Enter Many Actors into a Many-to-Many Movie Database?
    By warrenpage in forum Database Design
    Replies: 12
    Last Post: 10-26-2013, 05:30 PM
  3. A side Project, Movie Database
    By redbull in forum Programming
    Replies: 18
    Last Post: 08-10-2012, 06:59 AM
  4. Replies: 5
    Last Post: 06-14-2012, 07:27 PM
  5. Creating a form while linking two tables
    By sai_rlaf in forum Forms
    Replies: 1
    Last Post: 04-29-2011, 02:08 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