Hi!
I am on CR 8.5, WIN 2k, SQL 2k.
I have following scenario.
Report is based on a view which has two tables linked by ID. (Need all records from table B)
Table A
ID Amount Class
111 2000 A
222 1500 A
333 4000 A
Table B
ID UniqueID Charge Class
111 w1 1000 A
111 w2 100 A
111 w3 900 A
222 q1 700 A
222 q2 800 A
333 s1 1000 A
333 s2 1200 A
333 s3 800 A
333 s4 1000 A
View
ID Charge Amount Class
111 1000 2000 A
111 100 2000 A
111 900 2000 A
222 700 1500 A
222 800 1500 A
333 1000 4000 A
333 1200 4000 A
333 800 4000 A
333 1000 4000 A
I have two groups.
Class (group 1) and ID(Group 2).
In my report I need to show the Totals of amount in Group Header(Class). But the problem i am facing is, in detail section under ID group I have multiple same records for amount field for each ID rather than only one, so when i do Summary (Sum) to display on header, i am getting wrong total, but it works fine with running total as i evaluate amount on change of group ID and reset at group class.
I have to display it only on header.
Please help.
Thanks.
I am on CR 8.5, WIN 2k, SQL 2k.
I have following scenario.
Report is based on a view which has two tables linked by ID. (Need all records from table B)
Table A
ID Amount Class
111 2000 A
222 1500 A
333 4000 A
Table B
ID UniqueID Charge Class
111 w1 1000 A
111 w2 100 A
111 w3 900 A
222 q1 700 A
222 q2 800 A
333 s1 1000 A
333 s2 1200 A
333 s3 800 A
333 s4 1000 A
View
ID Charge Amount Class
111 1000 2000 A
111 100 2000 A
111 900 2000 A
222 700 1500 A
222 800 1500 A
333 1000 4000 A
333 1200 4000 A
333 800 4000 A
333 1000 4000 A
I have two groups.
Class (group 1) and ID(Group 2).
In my report I need to show the Totals of amount in Group Header(Class). But the problem i am facing is, in detail section under ID group I have multiple same records for amount field for each ID rather than only one, so when i do Summary (Sum) to display on header, i am getting wrong total, but it works fine with running total as i evaluate amount on change of group ID and reset at group class.
I have to display it only on header.
Please help.
Thanks.