There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition printer problem ram router slow sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Business Applications
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Movie Database


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
17-Jun-2008, 04:57 PM #31
Quote:
Originally Posted by jimr381 View Post
The cast should be setup in a subform, so that you can select multiple cast members for the movie. This subform will reference the junction table. I would setup the fields in the junction table as a drop-down list that references the star table.
I will get started on this. Thanks.
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
18-Jun-2008, 11:31 AM #32
I believe I have something really wrong. I tried to place the subform on the frmAddMovie form with the subform linked to the tblMovieStar table (Junction Table). However, no values are present in the combo box on the subform.

I have a StarringID in three different places. It is found in the tblStarring table, tblMovie table, and tblMovieStar table. Do I need all three?
__________________
Computerman29642

"I can do all things through Christ which strengtheneth me."
(Philippians 4:13)
___________________________________________________

“Give, and it shall be given to you. For whatever measure
you deal out to others, it will be dealt to you in return.”
(Luke 6:38)
___________________________________________________

"Imagination is more important than knowledge. Knowledge
is limited. Imagination encircles the world." (Albert Einstein)
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
18-Jun-2008, 11:52 AM #33
I haven't seen your latest creation, but I would think it shouldn't be in the Movie table, the Link should be form the Movietable (MovieID) to the Junction table and from the Starring table (StarringID) to the Juction table.
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
18-Jun-2008, 12:05 PM #34
I deleted the StarringID from the tblMovie Table. I believe something is still really screwed up. I have attached a copy of the database. I would really appreciate you taking a look.
Attached Files
File Type: zip Movie.zip (42.7 KB, 2 views)
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
18-Jun-2008, 12:54 PM #35
You are correct, it is well screwed up
One major problem that you have is the form that you are using does not assign a value to the MovieID autonumber until you have clicked the "Add" button, which means that you although you can assign a Master/Child Link between the Main and Sub forms using the MovieID, there is nothing there for the Subform to Pick up on.
So I have corrected the data source for the Subform, added the Actual fields from the table to mainform for the MovieID and Movie Title, linked the 2 forms and it is now working.
But your Tabbed "Movies" form isn't

PS I like the String conversion using Propercase.
Attached Files
File Type: zip Movie.zip (37.5 KB, 2 views)
__________________
.
.
OBP
I do not give up easily
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
18-Jun-2008, 01:14 PM #36
LOL....I had a feeling that I played with it too much. I appreciate you taking the time to correct the mistakes.

I will work on getting the tabbed "Movies" form working.

Quote:
PS I like the String conversion using Propercase.
I guess you felt like a positive statement needed to be thrown in somewhere....LOL!
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
18-Jun-2008, 01:57 PM #37
No, I actually hadn't seen that fuction used before, so I learnt something new, as I am always doing helping others.
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
19-Jun-2008, 03:49 PM #38
I am glad that I was able to actually show you something.

I have the CategoryID and RatingID in the Movie Table, do they need to be deleted? There is a way to have all the stars display on the Movie form without showing duplicate records...correct?
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Jun-2008, 05:53 AM #39
No you need those IDs in the table to refer to the 2 tables.
I am not sure that I understand your question about Duplicate Stars, do you have some?
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
20-Jun-2008, 08:03 AM #40
The Movie form is not duplicating the Stars. When a movie has more than one Star, all of the data is being duplicated in the subform of the Movie form. I was just making sure that was something I could stop from happening.

Would it be better to have the Stars showup in a Listbox?
__________________
Computerman29642

"I can do all things through Christ which strengtheneth me."
(Philippians 4:13)
___________________________________________________

“Give, and it shall be given to you. For whatever measure
you deal out to others, it will be dealt to you in return.”
(Luke 6:38)
___________________________________________________

"Imagination is more important than knowledge. Knowledge
is limited. Imagination encircles the world." (Albert Einstein)
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Jun-2008, 09:23 AM #41
You can, as you appear to like List boxes, but personally I prefer Subforms.
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
20-Jun-2008, 09:27 AM #42
I do not mind using subforms, but I would like for the data not to duplicate.
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Jun-2008, 09:44 AM #43
Preventing duplication is not quite so straightforward as normal as this is a many to many table.
One way to achieve it would be to have another field that combines the MovieID and StarID and then set it's property to Indexed No Duplicates.
computerman29642's Avatar
Computer Specs
Senior Member with 1,427 posts.
 
Join Date: Dec 2007
Location: HERE OR THERE?!?!?!
Experience: Always Learning!
20-Jun-2008, 10:47 AM #44
I will see if I can create the new field that will combine the data. I personally believe it would look better. What do you think?
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 6,565 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Jun-2008, 11:02 AM #45
I am not sure about the "look" of it, I usely just do "Function"
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:03 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.