Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello guys,
sorry if I am posting in the wrong section of the Forum, I am looking for the help on SSC.

My Issue:
Hey guys, I have a requirement form the SharePoint developing team, they have given me a simple SELECT statement with a Where Condition and asked me to develop a report and I did.
so far so good. Now, they want to have a Dynamic Report Headeing which displays different Heading for Different Report-data, to explain more here is a screenshot:

http://i.imgur.com/mGHYzVH.png[^]

when the report fetches the data for 5 countries then they need heading like "List for - COUNTRY1 COUNTRY2 COUNTRY3 COUNTRY4 COUNTRY5"

but,
- They don't want additional DataSet
- They don't want any changes to the query (which they gave)
- They don't want any additional Parameters

in shot,
as per my understanding, i guess they are asking me to write custom code to do so! (in VB.NET)
and i have no idea about it

Please do help me guys
Best Regards,
Cheers
Posted

Bring a column from query which displays country.Then add a expression in the textbox to display it...Use the same dataset, Use table control instead of textbox with only one column which looks like textbox. Its simple Imran.Try it.
 
Share this answer
 
Comments
Imran MD 18-Jul-13 7:58am    
Thanks for the reply Manu, we can not insert a table in the Header of report.
with your idea, in the body of the report i have inserted a table and got the column name into it. Out of curiosity when i run the report I get only the last country name, I need all countries to be displayed thr! :'(
Manu V M 18-Jul-13 8:26am    
dont add a table in header..i never told u to add a table in header but see my other comments below and try it..u will surely get it working.
Y do u want a header ??? u can add a column header and merge it right ? and for country name to display use a list control so that u will get all the countries ....
 
Share this answer
 
add a column header, that will look like a report header...make that row visible always.
 
Share this answer
 

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



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