| |
Data Dynamics Reports Support
Started by mcinp1 at 08-17-2010 9:53 AM. Topic has 35 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
08-17-2010, 9:53 AM
|
mcinp1
Joined on 02-22-2010
Posts 58
|
Re: An extra blank page when List has a lis with a table inside it - table HEIGHT dependant
|
|
|
|
|
Hi Sergey 1)Tried BandedList with a Table in the header. Exactly the same problem with Table now - e.g. KeepTogeter is false but it still jumps to next page with half a page left blank on first page.
2)The only way I can stop this 'jumping' bahaviour is to use TextBoxes in a banded list - but I need it to look like a table withheader and footer and gridlines. I guess I can use Lines to draw grid lines if there is no better workaround.
3)Sergey - a while ago you suggested posting my report and data so that you could show me how to imlement what I need. So far I tried to do it myself using BandedList but still can't get it to work with a Table. Any chance you can have a look at my data and report (poasted here as ReportAndData.zip) and suggest a solution?
Thanks Pete
|
|
|
|
|
Report
|
|
|
|
08-17-2010, 10:31 PM
|
Sergey
Joined on 08-28-2004
Novosibirsk, Russia
Posts 3,015

|
Re: An extra blank page when List has a lis with a table inside it - table HEIGHT dependant
Attachment: ReportAndData_modified.zip
|
|
|
|
|
Hello, I briefly reviewed the report you have sent and have some thoughts. The inner List that has the detail grouping is set and contains the nested table can be replaced with the single table that has two regular groups. For example in the report you have sent: List2 has the detail grouping by PatientID List2 contains the nested table that has the grouping by StatementLineDataID I can replace List2 with the single table that has the following structure: Group1 by PatientID: Group1 Header Row to separate the patients between each other. Group1 Header Row to display the headers for statement data Group2 by StatementLineDataID Group2 Header to display the statement data.
The same approach may be used for List1/Table2 pair.
I have attached the modified report, it's data(I switched the report to using XML provider) and the output. Does that work for you?
Sergey Abakumoff GrapeCity
|
|
|
|
|
Report
|
|
|
|
08-18-2010, 10:20 AM
|
mcinp1
Joined on 02-22-2010
Posts 58
|
|
|
Thanks Sergey - this really helped. 1)This works just about perfectly for my report. I can confirm that there is no "jumping to next page" using this design. That's a result!
2)New problem: I have a new requirement of having Page Numbers on my report and new problem though :
I switched page footer on and placed "Page Number Out Of" and Page Numer Out Of (Section) textboxes on it. By some reason the page numbers do not show. I set the List1 property to Start New Section.
I attached the report and data (they did not change much from what you had - just switched the Page Footer on.
How can I show "Page Number Of (Section) using this design?
3)PS.By the way Page Number Of (Section) works for me on another version of this report which does not use Tables and does everything using BandedList (this way the jumping problem disappears too).
Thanks again. Pete
|
|
|
|
|
Report
|
|
|
|
08-18-2010, 8:05 PM
|
Sergey
Joined on 08-28-2004
Novosibirsk, Russia
Posts 3,015

|
|
|
Hi, Sometimes I face the same issue when the textbox placed in the page header or footer is not displayed at runtime and this is related to the serialization of a report that has Language property is set to non-default value. I did not figure out how to constantly reproduce that issue, but I know the work-around: 1). Open PrS_AllPracticeDetailPersSttmntOpenPageNumbers.rdlx in designer. 2). Set the Report Language to Default. 3) Remove the textboxes from the page footer. 4) Add "Page N of M" textbox in the page footer. 5) Set the report language back to the desired non-default value. 6) Save the report.
I've enclosed the modification of the report that is saved once I applied the work-around above.
Sergey Abakumoff GrapeCity
|
|
|
|
|
Report
|
|
|
|
08-19-2010, 10:30 AM
|
mcinp1
Joined on 02-22-2010
Posts 58
|
Re: An extra blank page when List has a lis with a table inside it - table HEIGHT dependant
|
|
|
|
|
Thanks Sergey. This worked and I got my report to work as required now, including Page N of M (Section) in the footer. Thanks for great support.
I will try and look for a way to reproduce this Language setting bug for you, but no luck so far. It seems to be a Designer problem. I also had some other strange things happening while designing my report today - such as Start New Section setting was ignored at some point in designer (i.e. Page Count (Section) was not restarted on new Section) or Expression diappearing from a textbox (which worked just fine a minute before). I suspect that this happened when I was editing grid column's and List sizes and had my List wider then available page area (so preview started generating blank pages every second page bacause of that). I suspect that running designer using something like BoundsCheker memory checker (which has a debug memory allocator for unmanaged code) may help to debug the problem.
Thanks again for your help.
|
|
|
|
|
Report
|
|
|
|
08-19-2010, 9:13 PM
|
Sergey
Joined on 08-28-2004
Novosibirsk, Russia
Posts 3,015

|
Re: An extra blank page when List has a lis with a table inside it - table HEIGHT dependant
|
|
|
|
|
Glad to see that the report is works now! As we can see DDR is flexible enough to find the alternate ways to design the report if something does not work as expected,
Sergey Abakumoff GrapeCity
|
|
|
|
|
Report
|
|
|
|
|
|
Page 3 of 3 (36 items)
|
< 1 2 3 |
|
|
|
GrapeCity » Product Support » Data Dynamics R... » An extra blank page when List has a lis with a table inside it - table width dependant
|
|
|
|
|