ACC97: Sample DAO Code to Create a Many-to-Many Relationship (193165)
The information in this article applies to:
This article was previously published under Q193165 SUMMARY
Advanced: Requires expert coding, interoperability, and multi-user skills.
If you want to set up a many-to-many relationship between two tables, you
need to set up a third table called a junction (or cross-reference) table,
and then establish two, one-to-many relationships, one between each of the
original tables and the junction table.
This article shows you how to create each of these three tables and how
to establish the relationships between them by using Data Access Objects
(DAO) in Visual Basic for Applications code.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB193165 |
---|
|