Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unique Records through a portal

Featured Replies

The problem I have just encountered is this.

I'm creating a program to track my opinions of movies, actors and studios.

I have a table for the movies, one for the actors, and one for the studios.

I want to be able to enter the cast through a portal in the movie table.

I can create entries in the actors table through my portal from the movie table, but the problem is that if an actor is in more than one movie there is more than one entry in the actors table. Anyone have any ideas as to how I should proceed?

You should use a Join Table, call it ActorInMovies, where you will enter either the ActorID and the MovieID.

This allows One to Many or Many to Many relationships.

Then your portal will point to the Join Table to list all the movies affiliated to an actor, and the same for Studios...which could need a MovieInStudio Join.

This is commonly called Join Table, Join File (in 6) and a lot of posts related to business stuff (where one customer can have many invoice and product may appear in many invoice for many customers) would use a Line Items.

Make a quick search here on the Forums, and you'd have enough to read for a while.

HTH

Hey AKSHUN,

Sounds like an interesting design project. In case you're not familiar with it, imdb.com is a great movie database. It might give you ideas (and data!) about things to include in your design.

I've attached an ER diagram of the basic structure for what you've described. You'll notice that I show a Member table where you indicated an Actor table. I used a general term, figuring you may want to use the same structure to keep other members of the production team, like Director, Producer, etc. The Role table is the join table Ugo described.

Have fun!

Movie.GIF

Of course, a movie has a unique Studio. My bad, I was thinking of registering Studios.

  • Author

IMDB was my inspiration for the project. Basically I have a friend who is a REAL movie buff. His personal collection is as large as many smaller video rental outfits. I wanted to give him this so that he could simplify tracking his reviews of the movies, and even whom he has loaned movies to.

  • Author

Thanks for the heads up. I am having problems with getting relevant search results for join tables. Do you have any suggestions on what my search parameters should be?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.