Group Header, Page Break, and Sorting with XML data
Group Header, Page Break, and Sorting with XML data
I am trying to create a report using xml data. I want the report to page break when a data value changes. I am having trouble sorting. In the sample data below, I would use as my group header condition. The data that appears in my data band does not stay in the order that it is in the xml file and I can't seem to specify a sort. I want the databand sorted by . Am I doing something wrong?
Doe
John
Doe
Tim
Smith
James
Doe
John
Doe
Tim
Smith
James
Group Header, Page Break, and Sorting with XML data
Hello,
Can you please send us a sample report template for this data?
Thank you.
Can you please send us a sample report template for this data?
Thank you.
Group Header, Page Break, and Sorting with XML data
I am attaching the xsd, xml, mrt, and the pdf output I am getting. The data is different than my original post. As you can see in the pdf there are a couple of problems I am having:
1) The first page is blank. It sounds like the "Skip First" property of the group header should address this but it does not.
2) The xml data is already sorted in the order in which it should appear. I just want the page break to occur when the loan number changes. The page break works, but you can see the dates within the loan is now out of order.
1) The first page is blank. It sounds like the "Skip First" property of the group header should address this but it does not.
2) The xml data is already sorted in the order in which it should appear. I just want the page break to occur when the loan number changes. The page break works, but you can see the dates within the loan is now out of order.
- Attachments
-
- 1125.SampleCouponData.xml
- (725 Bytes) Downloaded 436 times
-
- 1124.PaymentCoupon.mrt
- (8.69 KiB) Downloaded 489 times
-
- 1123.Coupon.xsd
- (803 Bytes) Downloaded 384 times
-
- 1122.Coupon.pdf
- (44.21 KiB) Downloaded 413 times
Group Header, Page Break, and Sorting with XML data
Hello.
Thank you.
Please, try to set "New Page After" property of GroupHeaderBand1 to False.jmiller wrote: 1) The first page is blank. It sounds like the "Skip First" property of the group header should address this but it does not.
In this case you can set the 'Sort Direction' property of the GroupHeaderBand1 component to None or set the sorting order for the CouponData.OnTimeDate in the Databand.jmiller wrote: 2) The xml data is already sorted in the order in which it should appear. I just want the page break to occur when the loan number changes. The page break works, but you can see the dates within the loan is now out of order.
Thank you.
Group Header, Page Break, and Sorting with XML data
Let me start with 2): This appears to be working. I thought for sure that I tried this. I did not set the 'Sort Direction' to None but I was pretty sure I tried to add the OnTimeDate sort in the DataBand. Whenever I added the sort it was removing the Data Source from the data band. Maybe I just did something wrong. It is working now.
1) The 'New Page After' does remove the initial blank page, but now LoanNumber '0000002' is appearing on the same page as '0000001'. I wanted a new page whenever the LoanNumber changed.
1) The 'New Page After' does remove the initial blank page, but now LoanNumber '0000002' is appearing on the same page as '0000001'. I wanted a new page whenever the LoanNumber changed.
Group Header, Page Break, and Sorting with XML data
Hello,
Thank you.
Please set the "New PageBefore" property of the GroupHeader component to true.jmiller wrote:1) The 'New Page After' does remove the initial blank page, but now LoanNumber '0000002' is appearing on the same page as '0000001'. I wanted a new page whenever the LoanNumber changed.
Thank you.
- Attachments
-
- 1127.PaymentCoupon.mrt
- (8.57 KiB) Downloaded 445 times
-
- 1126.Report.pdf
- (44.47 KiB) Downloaded 434 times
Group Header, Page Break, and Sorting with XML data
That worked. Thanks for your help!
Group Header, Page Break, and Sorting with XML data
Hello,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.