1. Open Access Help. And look for junction table. It is
well explained there
2. Read the next:
The many-to-many relationship
The many-to-many relationship is the hardest to
understand. Think of it generally as
a pair of one-to-many relationships between two tables,
with a special table created
(called a junction table) that is used to link them
together. The junction table is
comprised of a minimum of two fields - the foreign keys
from both tables it is linking
together. These two fields are subsequently used to create
the primary key in
the junction table. This junction table could easily be
created in the case of the
tables Pets and Visits Details in the Mountain Animal
Hospital database - with the
Visits table, by simply making the primary key a
combination of the Visit Number
and Pet ID.
A pet can be serviced at the hospital on many dates, so
you see a one-to-many relationship
between Pets and Visits Details. On the other hand, each
medication or
type of treatment can be given or performed on many Pets;
this is also a one-tomany
relationship. Thus a pair of separate, two-way, one-to-
many relationships creates a many-to-many relationship -
for a true many-to-many relationship
between these two tables, the Visits table (acting as a
junction table) would have to
have a primary key of Pet ID and Visit Number in the
junction table.
Source: Access XP Bible. That book is realy GREAT!