Click here to Skip to main content
15,920,468 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
I had a simple report containing all data in header and details section.

Ex:
----------------------------------------------------
for salesman: ajay
for area: lko
-----------------------------------------------------
1 data
2 data
3 data
4 data


Now if i say that i want a report for salesman 'ajay' and all area
then i suppress the header value and the report is like
----------------------------------------------------
for salesman: ajay


-----------------------------------------------------
1 data
2 data
3 data
4 data
5 data
6 data

But it is displaying a blank line in place of area
i want a report which should look like
----------------------------------------------------
for salesman: ajay
-----------------------------------------------------
1 data
2 data
3 data
4 data
5 data
6 data



Please help me in this.

Thanks in Advance.

Pradeep
Posted
Updated 25-May-11 23:52pm
v3

1 solution

I think you might have tried to suppress the contents of the header,try to suppress the header as a whole,you can do this by right-clicking on the header and select 'Suppress(No DrillDown)' option. You can enable the section using code like

<pre>partyWiseSalesReport.PageHeaderSection2.SectionFormat.EnableSuppress = false;</pre>
 
Share this answer
 
Comments
PRADEaZX 24-May-11 5:22am    
Hi Venky I have already tried that but its not working. Actually i dont want to suppress the whole section. in my example if i want a report for single salesmam and all area it should look like this

Ex:
----------------------------------------------------
for salesman: ajay
-----------------------------------------------------
1 data
2 data
3 data
4 data


But it is displaying a blank line in place of area

----------------------------------------------------
for salesman: ajay

-----------------------------------------------------
1 data
2 data
3 data
4 data
5 data
6 data

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900