I have the following table:
PNO MBDID ITEMCD ITEMFLTCD SFACT_CD FVALUE
------------------------------------------------
17 5 101 1 HANDNP 565.66
17 5 101 1 OOSNP 564.45
17 5 101 1 HANDW 213.22
17 5 101 1 OOSW 0.00
So, for any unique compination of PNO, ITEMCD, MDBID, ITEMFLTCD there are 4 different values fot sfact_cd(HANDNP,OOSW,HANDW & OOSW)
I have created a report using Crystal Reports 8.5, with two grouppngs 1.ITEMCD 2.PNO and I have also a cross tab with row:ITEMFLTCD and column:MBDID
The problem is that in the summarized fields I want to 'concatenate' FVALUE values for 4 SFACT_CD values
I created 5 formulas @F1,@F2,@F3,@F4, @FAll
Formula1: @F1
IIF (Trim ({bat2delive.sfact_cd})="HANDNP",CStr (Round ({bat2delive.fvalue})),Space (4))
The other 3 formulas (@F2,@F3,@F4) follow the same logic and @FAll concatenate the other in one
{@F1} + {@F2} + {@F3} + {@F4}
So in the summarized fields I put only the last formula @FAll, but I take no results
I change the grouppings but that was not a solution because the cross tab changed also.
If anyone have any solution please let me know
Thanks
PNO MBDID ITEMCD ITEMFLTCD SFACT_CD FVALUE
------------------------------------------------
17 5 101 1 HANDNP 565.66
17 5 101 1 OOSNP 564.45
17 5 101 1 HANDW 213.22
17 5 101 1 OOSW 0.00
So, for any unique compination of PNO, ITEMCD, MDBID, ITEMFLTCD there are 4 different values fot sfact_cd(HANDNP,OOSW,HANDW & OOSW)
I have created a report using Crystal Reports 8.5, with two grouppngs 1.ITEMCD 2.PNO and I have also a cross tab with row:ITEMFLTCD and column:MBDID
The problem is that in the summarized fields I want to 'concatenate' FVALUE values for 4 SFACT_CD values
I created 5 formulas @F1,@F2,@F3,@F4, @FAll
Formula1: @F1
IIF (Trim ({bat2delive.sfact_cd})="HANDNP",CStr (Round ({bat2delive.fvalue})),Space (4))
The other 3 formulas (@F2,@F3,@F4) follow the same logic and @FAll concatenate the other in one
{@F1} + {@F2} + {@F3} + {@F4}
So in the summarized fields I put only the last formula @FAll, but I take no results
I change the grouppings but that was not a solution because the cross tab changed also.
If anyone have any solution please let me know
Thanks