问题
I have a crystal report consisting of 9 pages (1-9).
I have only one field(String) where I show a record from the database(say amount). The issue is that amount is being displayed on every page. I want that one record (amount) to be shown only on the first page. I tried several things with formula editing like "Suppress if duplicate" etc.
Here you have 2 screenshots.
Page 1/9 of the report Page 2/9 of the report
Note: Remittance information is a group header
回答1:
Depending on the structure of your report one of the following formulas should do the trick.
Put inside the suppressing formula of the amount-field:
Number 1
//suppressing the field on all records except the first record
If OnFirstRecord Then False Else True
Number 2
//suppressing the field on all pages except page 1
If PageNumber=1 Then False Else True
Number 3
//suppressing the field on all groups except #1
If GroupNumber=1 Then False Else True
来源:https://stackoverflow.com/questions/46362050/repeating-row-on-each-page