I hope I can articulate the question here... Thanks in advance for any commants at all - Im pulling my hair out.
I have 3 tables A, B, & C.
A->B relationship works fine. Set of records looks like:
a b1
a b2
a b3
A->C join also works fine. Set of records looks like:
a b2c1
a b2c2
a xxc3
Now the problem- I need to summarize A, B & C on the same report.
If I try to join and subtotal the three tables in crystal (or in a SQL view) I get:
A B C
===============
a b1 null
a b2 b2c1
a b2 b2c2
b2 is repeated in the resulting rows because multiple records exist for 'a' in table C. Summarizing this give me (in this case) an aparent doubling of b2.
What I would like to see is:
...
a b2 b2c1
a null b2c2
...
Does that make any sense, and any suggestions to compensate for this?
Thank you!
I have 3 tables A, B, & C.
A->B relationship works fine. Set of records looks like:
a b1
a b2
a b3
A->C join also works fine. Set of records looks like:
a b2c1
a b2c2
a xxc3
Now the problem- I need to summarize A, B & C on the same report.
If I try to join and subtotal the three tables in crystal (or in a SQL view) I get:
A B C
===============
a b1 null
a b2 b2c1
a b2 b2c2
b2 is repeated in the resulting rows because multiple records exist for 'a' in table C. Summarizing this give me (in this case) an aparent doubling of b2.
What I would like to see is:
...
a b2 b2c1
a null b2c2
...
Does that make any sense, and any suggestions to compensate for this?
Thank you!