Many to Many form input;

nrgu

New member
Local time
Today, 13:13
Joined
Feb 7, 2010
Messages
4
Hi all, A seemingly simple problem, but I cant for the life of me figure it out. I have 3 tables:

Code:
1. tbl1  
- tbl1ID  
- descr1  
- descr11

 2. tbl2  
- tbl1ID  
- tbl3ID    

3. tbl3  
- tbl3ID  
- descr3

and so creating a many-many relationship between 1 and 3. Now the question is... how do i create a form that looks something like:

Code:
[combo box (ID1 or 3) | relevant descr \/ ] [ linking attribute ] [ linking attribute ID ] (in textboxes)
and:
Code:
[combo box (ID1 or 3) | descr \/ ]  

[table showing all the links to ID1/3 chosen above]

or something similar to facilitate easy viewing of this relationship?
 
Last edited:
Your text description does not readily convey what you want. Try looking at Pat Hartman's M:M demo on this site.
 
perfect, thanks will have a look at it.
 
basically you dont/cant have many to many links

you have to turn it into two 1 to many links - normally with an intermdiate junction table

--------
eg
table: football teams
table: football players


if a player can only play for one team, you can store the team in the player table

BUT, since a player over time can play for several teams, this doesnt work. you have to store a junction table

table: playingfor

so you get

teams 1 ........ m playingfor m ....... players 1
 

Users who are viewing this thread

Back
Top Bottom