Repeating row on each page

爱⌒轻易说出口 提交于 2019-12-11 16:14:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!