hello!
By the following codes, how to do I can make the 'report' get data from the 'dataSet' . thanks.
StiDictionary dir = new StiDictionary();
DataSet dataSet = StiJsonToDataSetConverter.getDataTable(new FileInputStream(new File("Reports/bxd.json")));
StiDatabase database = new StiDatabaseEmpty();
database.setName("Data");
database.regData(dir, true);
report = StiSerializeManager.deserializeReport(new File("Reports/expense_2.mrt"));
report.setDictionary(dir);
report.setCalculationMode(StiCalculationMode.Interpretation);
report.Render(false);
How to do can make report get date from dateset
-
- Posts: 4
- Joined: Mon Dec 19, 2016 11:20 am
Re: How to do can make report get date from dateset
Hello,
You can find Java samples at the following link:
https://www.stimulsoft.com/en/samples/java
Thank you.
You can find Java samples at the following link:
https://www.stimulsoft.com/en/samples/java
Thank you.
-
- Posts: 4
- Joined: Mon Dec 19, 2016 11:20 am
Re: How to do can make report get date from dateset
yes ,the 'Create Report with Relations in Runtime' sample.
But , I want to use .mrt file also.
How I can ?
before
report = StiSerializeManager.deserializeReport(new File("Reports/expense_2.mrt"));
now
StiReport report = new StiReport();
How I can make expense_2.mrt working on the last report ?
thanks!
But , I want to use .mrt file also.
How I can ?
before
report = StiSerializeManager.deserializeReport(new File("Reports/expense_2.mrt"));
now
StiReport report = new StiReport();
How I can make expense_2.mrt working on the last report ?
thanks!
Re: How to do can make report get date from dateset
Hello,
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
Thank you.