Hi
I'm currently getting into RDL report design an i'm facing some issues as many of you might as well...
My first problem:
I manged to get some data into the rdl report header (purchase order r10122, us localization) via SetData and GetData functions. On preview the report looks find. When i print the report there is allways a second page printed with only the values i retrieved via SetData GetData.
I've uploaded a picture of both pages. Everything you can see on page two is calculated by SetData/GetData
My second problem:
The page number allways shows 1. This even if there is printed a regularly second page with some new lines. I didn't change anything to the pageno field or functions.
I've read all the msdn documentation but there are no troubleshooting scenarios...
Thanks a lot for any hints
*Edit: cold a board admin move this topic into the right place please. I missed that whilst creating this post, thanks!
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
For the problem with the pageno: Can you post the expression of the textbox that prints the pageno?
I don't know the report but I think it follows the line of "all document report". So I hope the textbox, that shows the page number, calls a function like "GetGroupPageNo" passing 2 parameters (ReportItems!YourTextbox.value,Globas!PageNumber).
Now I suggest you to check the content and the position of the textbox passed as a parameter.
It works as expected... More or Less...
But still i'm getting one additional page at the end of the report. Any idea how i can get rid of that one. Do i need to set wider borders?
The issue with the pagenumber resolved itself when i adjusted the borders.
I used the standard pageno function of that report, but this doesn't work correctly while the width setup causes troubles. But as i sad it's only a follow up problem.
Yes i'm using a list, tried it with "Fit on one page if possible" = TRUE and "Fit on one page if possible" = FALSE. Must be something else...
Could you post a screenshot of the RDLC Layout?
Have you already checked if you've some "Page Break At The End " flag set to true (maybe in the List properties or in Group properties)?
It works as expected... More or Less...