Hi All!
I am brand new to Crystal and I am having trouble with the report I need to create. The report should show Member's total claim cost and threshold, and the total claim cost and threshold per month.
MemberID PersonCode Month TotalPaid Threshold(250.00)
123456 1 1/2006 100.00 100.00
123456 1 2/2006 200.00 150.00
123456 1 3/2006 50.00 0
123456 2 1/2006 500.00 250.00
123456 2 3/2006 150.00 0
456123 1 1/2006 30.00 30.00
456123 1 2/2006 200.00 200.00
Total 1/2006 630.00 380.00
2/2006 400.00 350.00
3/2006 200.00 0
The problem I am having is on the total threshold per month. The only way I could find to get my Threshold value was to make a running total variable to sum up each member's TotalPaid -- TotalCost. I use this variable in my threshold formula.
currencyVar PreviousMonths := {#TotalCost} - {viewRDSCostReporting.TotalPaid};
if PreviousMonths >= 250 then
0
else
if {#TotalCost} >= 250 then
250 - PreviousMonths
else
{viewRDSCostReporting.TotalPaid}
However, now I am unable to sum the Threshold variable.
My question is, can anyone see of a better way to get my threshold numbers... so I can sum them?
Thanks.
Danielle
I am brand new to Crystal and I am having trouble with the report I need to create. The report should show Member's total claim cost and threshold, and the total claim cost and threshold per month.
MemberID PersonCode Month TotalPaid Threshold(250.00)
123456 1 1/2006 100.00 100.00
123456 1 2/2006 200.00 150.00
123456 1 3/2006 50.00 0
123456 2 1/2006 500.00 250.00
123456 2 3/2006 150.00 0
456123 1 1/2006 30.00 30.00
456123 1 2/2006 200.00 200.00
Total 1/2006 630.00 380.00
2/2006 400.00 350.00
3/2006 200.00 0
The problem I am having is on the total threshold per month. The only way I could find to get my Threshold value was to make a running total variable to sum up each member's TotalPaid -- TotalCost. I use this variable in my threshold formula.
currencyVar PreviousMonths := {#TotalCost} - {viewRDSCostReporting.TotalPaid};
if PreviousMonths >= 250 then
0
else
if {#TotalCost} >= 250 then
250 - PreviousMonths
else
{viewRDSCostReporting.TotalPaid}
However, now I am unable to sum the Threshold variable.
My question is, can anyone see of a better way to get my threshold numbers... so I can sum them?
Thanks.
Danielle