Page 2 of 2
Re Simple Customer Statement Report
Posted: Wed May 14, 2008 5:46 pm
by Andre2
Just updated to 2008.1.228 with the same result
What version are you using
Thanks
Re Simple Customer Statement Report
Posted: Wed May 14, 2008 5:49 pm
by Edward
I tested with 2008.1.200 version.
Here is my report.
Thank you.
Re Simple Customer Statement Report
Posted: Wed May 14, 2008 6:06 pm
by Andre2
Hi There
had to remove the 2008.1.228 version.....broke the report in my application :dumb:
Andre
Re Simple Customer Statement Report
Posted: Wed May 14, 2008 7:57 pm
by Andre2
Ran your report on my system and it appears not to be working.
I have taken a screen shot of the report
I dont know how to attach a file whilst in the forum so Ill post directly
Re Simple Customer Statement Report
Posted: Thu May 15, 2008 3:59 am
by Edward
Sorry for misunderstanding.
Here is the solution as needed:
I've added the following code in the BeginRenderEvent of the page:
DataRow myRow30 = Orders.DataTable.NewRow();
myRow30["OrderDate"] = StartDate.AddDays(-30);
DataRow myRow60 = Orders.DataTable.NewRow();
myRow60["OrderDate"] = StartDate.AddDays(-60);
DataRow myRow90 = Orders.DataTable.NewRow();
myRow90["OrderDate"] = StartDate.AddDays(-90);
Orders.DataTable.Rows.Add(myRow30);
Orders.DataTable.Rows.Add(myRow60);
Orders.DataTable.Rows.Add(myRow90);
Orders.DataTable.AcceptChanges();
This code adds empty lines to underlying DataTable of the DataSource which is used in Cross-Tab.
Each DataSource is converted into DataTable in the Stimulsoft Reports.Net, so it could be changed in runtime too.
As the records added do not have sums it would be an empty invoices, and cross-tab will be shown as expected.
I am attaching the template too.
Thank you.