I am using Crystal Reports, but the principle is independent of this.
I have three tables: A, B and C. (there are at least 5 tables in fact - but the essence is 3)
B and C relate to A but not to each other. A is related to B and C by left outer joins. There is a select on A so that only one row in A is selected. The relevant data in A, B and C is:
Table A:
A1
Table B
A1B1
A1B2
Table C
A1C1
A1C2
A1C3
The report has to display
A1
B1
B2
C1
C2
C3
The problem is that the complex records generated are
A1B1C1
A1B1C2
A1B1C3
A1B2C1
A1B2C2
A1B2C3
Using group headings (for example) I can get
A1
B1
C1
C2
C3
B2
C1
C2
C3
Ideas?
I have three tables: A, B and C. (there are at least 5 tables in fact - but the essence is 3)
B and C relate to A but not to each other. A is related to B and C by left outer joins. There is a select on A so that only one row in A is selected. The relevant data in A, B and C is:
Table A:
A1
Table B
A1B1
A1B2
Table C
A1C1
A1C2
A1C3
The report has to display
A1
B1
B2
C1
C2
C3
The problem is that the complex records generated are
A1B1C1
A1B1C2
A1B1C3
A1B2C1
A1B2C2
A1B2C3
Using group headings (for example) I can get
A1
B1
C1
C2
C3
B2
C1
C2
C3
Ideas?