Re: Data binding in the report
Posted: Thu Apr 26, 2018 5:29 am
Hi Ed,
It looks like you already using the custom mode for rendering. Could you please show the code how you render the report? Because the standard behaviour of the 'Save As' button is to save all the rendered report to PDF.
Also please explain how the data is registered to the report?
Please swap the following lines in your code above as follows:
So the question is how to export all the pages to the report, not only the pages that have been fetched already?
Thank you,
Edward
It looks like you already using the custom mode for rendering. Could you please show the code how you render the report? Because the standard behaviour of the 'Save As' button is to save all the rendered report to PDF.
Also please explain how the data is registered to the report?
Please swap the following lines in your code above as follows:
Code: Select all
report.Dictionary.Clear();
report.Load("Report.mrt");
report.RegData("Person", _persons);
Thank you,
Edward