B
bliesveld
Guest
DB Background:
I have a database with a many to many relationship created by using a referance table. For Exampel:
Table 1: Projects
Table 2: Contacts
Table 3: Project_Contact_Relationships
All relationships have been created.
Each Projcet Has Many Contacts.
Each Contact can be associated with Many Projects.
I have this implemented an wroking fine, my problem come when I try and create a report with a sub-report!
I ceated a parent report based on a qurey of the Projects Table that limits and orginizes the data I want in the report.
I have a sub-report based on a qurey that dose the same thing for Contacts but it also has the Project_ID info from the Project_Contact_Relationships Table.
I then related the Parent to the Child like so: Parent_ID -> Project_Contact_Relationships.Project_ID
The problem is I get multipule listings of the Parent form Data so my report looks somthing like this:
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project B
Contact 1
Contact 4
Contact 5
Contact 8
Project B
Contact 1
Contact 4
Contact 5
Contact 8
How can I get the project to show just once?
-Thanks
I have a database with a many to many relationship created by using a referance table. For Exampel:
Table 1: Projects
Table 2: Contacts
Table 3: Project_Contact_Relationships
All relationships have been created.
Each Projcet Has Many Contacts.
Each Contact can be associated with Many Projects.
I have this implemented an wroking fine, my problem come when I try and create a report with a sub-report!
I ceated a parent report based on a qurey of the Projects Table that limits and orginizes the data I want in the report.
I have a sub-report based on a qurey that dose the same thing for Contacts but it also has the Project_ID info from the Project_Contact_Relationships Table.
I then related the Parent to the Child like so: Parent_ID -> Project_Contact_Relationships.Project_ID
The problem is I get multipule listings of the Parent form Data so my report looks somthing like this:
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project A
Contact 1
Contact 2
Contact 3
Contact 4
Project B
Contact 1
Contact 4
Contact 5
Contact 8
Project B
Contact 1
Contact 4
Contact 5
Contact 8
How can I get the project to show just once?
-Thanks