I have a problem with repeating detail lines. I have tried creating a group and then comparing the group to the previous group. When equal it seems to eliminate the second detail line from printing. But it seems to retain the values and amounts and continues to add them into the total. The group I created is ‘@DuplicateRule’. It is composed of 4 fields from the report, that when equal – the printing of the detail line should be suppressed. I have suppressed the detail line in the Section area and included the formula with the button option utilizing
1.)WhilePrintingRecords;
Previous ({@DuplicateRule}) = {@DuplicateRule}
2.)If Previous({@DuplicateRule}) = {@DuplicateRule}
then True
Else
False
In both cases, the unwanted detail lines are eliminated, but the amounts from those lines continue to be added to the subsequent subtotal and total fields. Also, utilizing either of the above formulas for suppression of the detail line, additionally deletes some lines that are not equal on at least one of the 4 fields previously alluded to. What do I do? I am utilizing Crystal Reports ver. 8.5.
1.)WhilePrintingRecords;
Previous ({@DuplicateRule}) = {@DuplicateRule}
2.)If Previous({@DuplicateRule}) = {@DuplicateRule}
then True
Else
False
In both cases, the unwanted detail lines are eliminated, but the amounts from those lines continue to be added to the subsequent subtotal and total fields. Also, utilizing either of the above formulas for suppression of the detail line, additionally deletes some lines that are not equal on at least one of the 4 fields previously alluded to. What do I do? I am utilizing Crystal Reports ver. 8.5.