Prev | Current Page 361 | Next

Michael R. Groh, Joseph C. Stockman, Gavin Powell, and Cary N. Prague

"Access 2007 Bible"

The join table has one-to-many relationships with both of the
tables involved in the many-to-many relationship. This principle can be a bit confusing at first, but
close examination of Figure 3-12 soon reveals the beauty of this arrangement.
In Figure 3-12, you can easily see that student ID 2 (Michael Barde) belongs to the music club,
while student ID 12 (Jeffrey Wilson) is a member of the horticulture club. Both Michael Barde and
Jeffrey Wilson belong to the photography club. Each student belongs to multiple clubs, and each
club contains multiple members.
104
Access Building Blocks Part I
Because of the additional complication of the join table, many-to-many relationships are often considered
more difficult to establish and maintain. Fortunately, Access makes such relationships quite
easy to establish, once a few rules are followed. These rules are explained in various places in this
book. For instance, in order to update either side of a many-to-many relationship (for example, to
change club membership for a student), the join table must contain the primary keys of both tables
joined by the relationship.


Pages:
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373