且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

抑制后在摘要中添加重复值

更新时间:2023-12-02 18:42:16

如果要格式化报表,以使重复的值不会在页面上重复,请使用字段格式设置选项.

如果在详细信息"部分中,则可以:

右键单击该字段,然后选择格式字段"菜单.

勾选显示以下内容的框:禁止重复显示
If you want to format the report so that duplicated values are not repeated down the page, use the field formatting option.

If it is in the Details section, you can:

Right click on the field, and select the "Format Field" menu.

Tick the Box that says: Suppress if duplicated




我在详细信息部分专家中使用了此公式-禁止(不向下钻取)

Hi,

I used this formula in details section expert - Suppress(No Drill down)

//It will suppress whole row
if {DataTable1.coverid}=next({DataTable1.coverid}) then
(
    if {DataTable1.buyccy} = next({DataTable1.buyccy}) or {DataTable1.sellccy}=next({DataTable1.sellccy}) or {DataTable1.matdate1}=next({DataTable1.matdate1}) or {DataTable1.matdate2}=next({DataTable1.matdate2}) or {DataTable1.pfname}=next({DataTable1.pfname})then
    (
        true
    )
)



然后我用了子报表.运行良好.

谢谢



then i used subreport. It''s working well.

Thanks