Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query on many to many

Status
Not open for further replies.

jges

Technical User
Oct 24, 2003
537
US
I have books and procedures, books contain multiple procedures and a procedure can be in more than 1 book. I have 3 tables set up: books, procedures, and a join table. My input form works well. So far, so good.

Now, I would like to set up a query/report that lists each procedure in a given book and the other book(s) (if any) that each procedure appears in. I have a query that lists each procedure in a given book and another that lists each book that contains a given procedure. Any advice on combining them?

I would like output something like:
Book1
Procedure 1
also in: book 3
Procedure 2
Procedure 3
also in: book 2
also in: book 3

Book 2
Procedure 3
also in: book 1
also in: book 3
Procedure 4
.
.
.
 
Your concatenate function looks promising, thanks for pointing me to that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top