Hello,
I have a report that has 4 subreports (the same subreport imported 4 times) in it, which are dynamically arranged/showed/hided during runtime. The problem is that the subreport has many records, it is expanded to multiple pages (7-8 pages) and time to time some records are missing. For instance I have the record with number 540 in the end of the page. After it I have to have the record with number 545. The numbers aren't chronologically because I have some filters applied. The space between the record 540 and the page footer section may permit to have there the record 545, but suddenly it disappears. And in the next page I have the record 560. The order should be 540, 545, 560.
This problem doesn't appear every time. For instance is possible to have the first 4-5 good pages and the missing to appears in page 6, or to have the missing in the first page, or to have the whole report correct. The situation differs.
I found a workaround. During runtime, if I export the report as .rpt file, with data in it, it seems that the records are displayed correctly. It seems that the export computes correctly the space needed to display the last record in each page.
I attached a printscreen to see how the missing record appears in the exported version. The left side has the report generated during runtime and the right side has the exported .rpt file and then loaded in a report viewer.
I don't have any clue why the subreport is truncated when page changes. The workaround is a little bit weird. I would like to have the report generated correctly during runtime.
The report is now edited using Visual Studio 2013. Can be a problem that it is created in a version prior to 2013? Should I convert it to a newest version?
PS: sorry for my English. I hope I explained well.
Thanks in advance,
Gabi