Hi everyone,
I am facing a problem with the reporting in RTC.
My customer want that in his documents only the first page of the report get the entire header (with logo, address, ...) and in the other pages just a small line of recap. In classic client I had no problem but when getting to the Rdlc layout I have the problem that the header is printed on every report's pages and I can only choose if it will appear or not on the first and last pages (in between pages it shows whatever I tried) searching in the forum I only see that someone had a similar problem but was solved by modifying the size of the report, that will not work for me.
Here is the list of what I have done to make it work without an interesting result:
- Try every possibility on the properties in Misc show on first page show on last page (work for first and last but not in betweens pages)
- put on every fields visibility/hidden property the expression =IIF(global!PageNumber > 1,true,false) that work fine for hiding the fields but insteade I had a blank header of 7cm per page (that doesn't help me a lot)
- Made a subreport with the header and add it to the body of the primary report, unfortunately (and maybe it is a mistake I have done saving the sub or the report) when I launch that report it says unable to find sub report on the first page but then the other pages are good.
I have no other idea how to make instead of using the "classic" report that works fine.
thanks in advance
Luca
0
Comments
my experience with RDLC isn't the best but I searched a bit and found the following 2 links. Maybe one of them can help you to find a solution.
http://msdn.microsoft.com/en-us/library/dd301162.aspx
http://blogs.msdn.com/b/nav/archive/201 ... am+Blog%29
Regards,
egnaz
just create a new table in the body with the header only and without the repeatonnewpage property.
then insert your "Main" table with the "recapitulation line" as the header, with repeatoneverypage = true.
You will then need to show that recapitulation line only in page 2 and more (i am not sure how to manage this, but there should be a way, maybe with the globals!pagenumber, as you said before)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I have tried the same and wasn't able to figure it out.
I think RDLC is more suitable for statistical reports and not so much for printing documents.
Ended up with designing a my own tool for managing printing of documents which solved things like this. \:D/
Anyway; I am also interested in a good 'multiple headers solution' if someone has it.
RTC Printouts Made Easy
NaviNordic Document Configurator for Dynamics NAV
I want header only on first page.
I cant use in body because in document header have a field Total Page.
[-o< [-o<
anyone can help me?
Best Regards
This reply is for NAV 2009. It has been changed for NAV 2013.
In order to get an image on the header each time it is repeated then embed the image in the Visual Studio design (Report and Embedded Images). Then make a image box and select the embedded image. Then the image can be shown as often as you like .
In order to hide a logo to be shown more than once then use the visibility expression on the image box
Good luck!