Another option is to add a cross-tab object to the report's header section.
Add Property, then Tenant to the Rows section; add Types to the Columns section; add Amount to the Summarized section. You'll probably want to 'show labels', too:
Question
Table
----------------------------------------
property | Tenant | Types | Amount
----------------------------------------
p1 t1 Commercial 1000
p1 t1 Residential 1000
p1 t2 Commercial 1000
p1 t2 Residential 1000
p2 t1 Commercial 1000
p2 t1 Residential 1000
p2 t2 Commercial 1000
p2 t2 Residential 1000
---------------------------------------
I want to display like this in crystal report:
p1 t1
--------------------
|Commercial 1000 |
|Residential 1000 |
--------------------
p1 t2
--------------------
|Commercial 1000 |
|Residential 1000 |
--------------------
p2 t1
--------------------
|Commercial 1000 |
|Residential 1000 |
--------------------
p2 t2
--------------------
|Commercial 1000 |
|Residential 1000 |
--------------------
I want to display p1, t1, p2, t2 displayed in Main Page remaining thing from subeport.
Solution
Another option is to add a cross-tab object to the report's header section.
Add Property, then Tenant to the Rows section; add Types to the Columns section; add Amount to the Summarized section. You'll probably want to 'show labels', too:
OTHER TIPS
You don't really need a subreport for this; you can group your data so that it appears that way.
property
(Group 1), and suppress the header and footerTenant
(Group 2) below that. Put the property
and Tenant
fields in the Group 2 header.Types
and Amount
columns to the detail section.