Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 15th, 2004, 07:30 AM
GenkiDave's Avatar
GenkiDave GenkiDave is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Canada
Posts: 60 GenkiDave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Duplication is a PAIN in the ###!!

Hi there, this is either

a) An ASP code Problem.
b) An SQL Syntax Problem
c) An Access DB Problem

I have my Syntax right when it comes to INSERTING an Actor and a Movie, then joining them in a JOIN TABLE (tblMovieActor). All good so far, but wait a second! What if I have to type in the same actor's first and last name again when I enter another movie into the database.

WONDERFUL!! (not!) Now I have the same actor's F/L name in there when I only need it once! It's the join table that is supposed to reflect which actor (fldActorID) is in which movie (fldMovieID). It doesn't matter how many times the Actor's ID is in there, because it's SUPPOSED to be repeaded in THAT table, not the F/L name in the Actor's Table.

How do I fix that??? If you'd like to see an example, I can copy/paste the code in here, or have a zip file with all of the current files so you can see for youself.

Can anyone help??

Reply With Quote
  #2  
Old February 15th, 2004, 07:39 AM
supersubra's Avatar
supersubra supersubra is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Coimbatore, India
Posts: 280 supersubra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 15 m 10 sec
Reputation Power: 6
If you can post the table structure and sample expected result it will be easy to reply. Any how you can create a select distinct actorid query and join that query with the table to avoid duplicate entries. But only after viewing the table structure correct answer can be given.

If possible attach the MDB and mention the Access version you are using 97 or 2000 with sample record and zip it and post it.
__________________
V.Subramanian

Reply With Quote
  #3  
Old February 15th, 2004, 11:15 PM
GenkiDave's Avatar
GenkiDave GenkiDave is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Canada
Posts: 60 GenkiDave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
OK the file attached is MovieDB.zip

In it is:

add.asp
default.asp
displaymovies.asp
movieform.asp
movies.mdb (MS Access 2002)
back.jpg (background)
mouse_1.cur (web cursor)

I appreciate all the help!
Attached Files
File Type: zip MovieDB.zip (57.7 KB, 166 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Duplication is a PAIN in the ###!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT