I have A report grouped by deduction code(S100). The detail data looks similar to the following:
EmplId Ded Code PayEnd Dt EmplyeContr EmplyrContr DedType
1010 S100 2010/09/09 0.0 25.00 2
1010 S100 2010/09/09 10.00 0.0 1
1010 S100 2010/10/09 0.0 25.00 2
1010 S100 2010/10/09 10.00 0.0 1
The user wants to see the last/highest PayEnd Dt Employee and Employer Contribution.
ie.
1010 S100 10.00 25.00
I put the detail field({SJ000146.LHS_DED_EMPLYE_SHR} and {SJ000146.LHS_DED_EMPLYR_SHR} on the group line and I when I run the report I see
1010 S100 10.00 0.0
I set up the following formula, but it doesn't work, the Employer Share gets overwritten by the last row:
If {SJ000146.LHS_DED_TYPE} = '2' Then
If {SJ000146.LHS_DED_EMPLYR_SHR} > 0 Then
{SJ000146.LHS_DED_EMPLYR_SHR}
I still see the following when I run the report
1010 S100 10.00 0.0
How do I save off the Employer Contribution, so it shows on the report (global variable ?).
Thanks in advance.