2

I am working on crystal report with backend as sql server 2005. Report is used to display tenant details with a flat in which he is residing. On filter screen i have filter Sort By tenant or unit.

When I sort by tenant, details appear as shown below,

Tenant name   tenant_unit tenant_rent
A             160         1000
              180         1000
B             170         2000 

When sort by Unit, details appear as shown below,

Tenant name   tenant unit tenant rent
A             160         1000
B             170         2000
A             180         1000

My question is, Is there any way to bring details in one line instead of two lines when sorting by unit?

FYI: On crystal I have group of tenant with sort order original.

4

1 回答 1

0

我想我现在看到了你想要的,如果你想在一行上显示单个租户的详细信息,那么你需要的是一个组:

Tenant name   tenant_rent
A             2000
B             2000

为此,您可以在租户上添加一个组(在报告 > 组专家下),然后右键单击tenant_rent 字段并转到插入 > 摘要,然后将位置设置为“组 1”。

于 2012-09-06T13:03:34.160 回答