ResetPageNumber how to use it?
ResetPageNumber how to use it?
Hi,
I have the following:
Group1
Group2
Detail
GroupFooter1
GroupFooter2
Every time there is a new Group1 I like the page numbers to start at 1... so I set ResetPageNumber on Group1 but it didn't work correctly.
Then I tried setting it on GroupFooter2 but noticed that it never got displayed even though it's enabled (so the page number was never reset).
Could you please me some instructions on how to do it?
Thanks,
Patrick
I have the following:
Group1
Group2
Detail
GroupFooter1
GroupFooter2
Every time there is a new Group1 I like the page numbers to start at 1... so I set ResetPageNumber on Group1 but it didn't work correctly.
Then I tried setting it on GroupFooter2 but noticed that it never got displayed even though it's enabled (so the page number was never reset).
Could you please me some instructions on how to do it?
Thanks,
Patrick
ResetPageNumber how to use it?
Hi Patrick,
Your steps were absolutely correct. Please send the report and data for it if it is possible to support[at]stimulsoft.com. We need to reproduce the issue and fix it. I checked the behaviour of the ResetPageNumber property with "Nested Groups" report from Demo.exe of 2008.2 version and everything worked. The latest available build worked too.
Thank you.
Your steps were absolutely correct. Please send the report and data for it if it is possible to support[at]stimulsoft.com. We need to reproduce the issue and fix it. I checked the behaviour of the ResetPageNumber property with "Nested Groups" report from Demo.exe of 2008.2 version and everything worked. The latest available build worked too.
Thank you.
ResetPageNumber how to use it?
Is there a way to save a report with its data as I can't send you a 0.5 GB database just for testing.Edward wrote:Please send the report and data for it if it is possible to support[at]stimulsoft.com.
Thanks,
patrick
ResetPageNumber how to use it?
Hello Patrick,
Please send only report and mdc file for this report.
Thank you.
Please send only report and mdc file for this report.
Thank you.
ResetPageNumber how to use it?
What is mdc please? And how can I obtain it?Jan wrote: send only report and mdc file for this report.
Thanks,
Patrick
PS: Would be very cool if you made a new file format "report with data".
The file format would be a zip file made up of report and serialized datasets

ResetPageNumber how to use it?
Hi Patrick,
The files with mdc extension (or mdz extension in case if zip archiver has been used while storing them) represent the inner file format for storing of the rendered report. You can save into this format using the third button on the left in the preview window in WinForms application.
Also it is possible to save into this format using the following code:
As for the question of saving data which have been used with the report, then you can send the information from the report using the following code:
What is the fastest way to save a data from any Connection from the report Dictionary?
Please go to the Designer, open your report from .mrt file
(or right - Click on the StiReport component in the Visual Studio and select Design Report) it depends on the way you
design the report
In the BeforePrintEvent of the first Page in your report, please write the following code:
All information inside of the report's Dictionary is represented as ADO.Net DataSet. So if you did not use Master-Detail relationship between DataSources with help of parameters, then sending of xml and xsd files wouldd be enough for us.
Thank you.
The files with mdc extension (or mdz extension in case if zip archiver has been used while storing them) represent the inner file format for storing of the rendered report. You can save into this format using the third button on the left in the preview window in WinForms application.
Also it is possible to save into this format using the following code:
Code: Select all
report.Render(false);
report.SaveDocument("MyRenderedreport.mdc");
What is the fastest way to save a data from any Connection from the report Dictionary?
Please go to the Designer, open your report from .mrt file
(or right - Click on the StiReport component in the Visual Studio and select Design Report) it depends on the way you
design the report
In the BeforePrintEvent of the first Page in your report, please write the following code:
Code: Select all
string dataSourceName = "MyDataSourceName";
DataTable dataTable = this.Dictionary.DataSources[dataSourceName].DataTable;
DataSet ds = dataTable.DataSet;
ds.WriteXmlSchema("D:\\myDataSet.xsd");
ds.WriteXml("D:\\myDataSet.xml");
Thank you.