Page Footer wrong data at first Page

Stimulsoft Reports.NET discussion
Post Reply
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Page Footer wrong data at first Page

Post by ChrDressler »

Hi,

I have two sources and a 1:1 relation: Customers -> CustomerAdresses.
I want to print CustomerAdresses in the page footer. All is wired via DataBand.

But an page one, the repots prints the adress of Customer 2 :x
Page 1: Customer 2 <- wrong!
Page 2: Customer 2 <- ok
Page 3: Customer 3 <- ok
Page 4: Customer 4 ...

This works fine if I print the Adress in the DataBand for CustomerAdresses.
I think, the calculation of the Relation runs too early for page 1.
What can I do to prin correct Relation-Data at page one?

-Christoph
Foxpro and behind
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Page Footer wrong data at first Page

Post by Alex K. »

Hello,

Can you please send us a sample report with test data which reproduce the issue for analysis.

Thank you.
ChrDressler
Posts: 68
Joined: Tue Nov 09, 2010 2:05 pm
Location: Dresden

Re: Page Footer wrong data at first Page

Post by ChrDressler »

I don't know how to send you data as easily, because I use DataSets, not xml etc.
The issue ist not so urgent... If I need,, I write again. Then, I will constrik mockup-data.

-Christoph
Foxpro and behind
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Page Footer wrong data at first Page

Post by HighAley »

Hello.

As a way, you can use the following code in the BeforePrint event of a page and sent us the files you get.

Code: Select all

YourDataTableName.DataTable.DataSet.WriteXml("e:\\data.xml");
YourDataTableName.DataTable.DataSet.WriteXmlSchema("e:\\data.xsd");
Thank you.
Post Reply