If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Many To Many

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-30-04, 11:35
Aleman Aleman is offline
Registered User
 
Join Date: Jun 2004
Posts: 46
Many To Many

hi im implementing a database in ms access, its a project tracking and im having trouble with some of the tables.... the relationships are as follow

Employee : M
Employee_ID
Name
Phone
Supevirsor_Name
Supervisor_Email

Project : M
Project_ID
Project_ Name
Description
Project_Added

EmployeeProject
Employee_ID
Project_ID
AssignedBy

i made this third table called EmployeeProjects for the relationship, but when i go to collect the data everything is ballistic, when i go to capture employees in the employee table everything is fine, i go to the projects and everything is fine there is a "+" in the projects its lists every single employee that i captured in employees in the same project i go to the next record and the same deal, there is a possibility that this could be that many employees can be in a project and also working in another project, what is wrong with it? can anybody help me???
Reply With Quote
  #2 (permalink)  
Old 06-30-04, 11:52
geoffrey geoffrey is offline
Registered User
 
Join Date: Jun 2004
Posts: 39
what are the constraint on your keys ?
__________________
geoffrey
- Four J's Development Tools -
Reply With Quote
  #3 (permalink)  
Old 06-30-04, 14:07
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think the problem is that you're not making use of the relationship table. Can you post your SQL query?
Reply With Quote
  #4 (permalink)  
Old 06-30-04, 15:20
Aleman Aleman is offline
Registered User
 
Join Date: Jun 2004
Posts: 46
hey thanx for your help... but i actually dropped the tables and created them from scratch again... i worked this time... i don't know what in the heck happend to it... any ways thnx for your help
Reply With Quote
  #5 (permalink)  
Old 06-30-04, 15:21
Aleman Aleman is offline
Registered User
 
Join Date: Jun 2004
Posts: 46
yeah indeed i think that was... i dont know what happend so i started from scratch and this time they do work... thnx for your help....
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On