The problem of export file

Stimulsoft Reports.JAVA discussion
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

The problem of export file

Post by heqichao »

hello,I have a problem when I use the Stimulsoft report fx.
I set the relation about two table
Image
Image

and the report is like this
Image

It is right when I export the report to excel on the web,
but it throw the exception when I export by java code

Code: Select all

StiReport report =StiSerializeManager.deserializeReport(new File(reportPath));
			report.render();
			FileOutputStream fout = new FileOutputStream(new File(excelPath));
			StiExcelExportService s =new StiExcelExportService();
			s.exportExcel(report, fout, new StiExcelExportSettings());
thank
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: The problem of export file

Post by heqichao »

and the exception is like this
Image
Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: The problem of export file

Post by Vadim »

Hello.
Do you use latest version Stimulsoft Reports.Java 2016.1.11 from 2016.05.06 ?
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: The problem of export file

Post by heqichao »

thank
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: The problem of export file

Post by Alex K. »

Hello,

Let us know if you need any additional help.

Thank you.
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: The problem of export file

Post by heqichao »

Hello.
I have problem,I design a report by Windows Installer is like that
Image
It is easy to design and review the report,
but when in the web designer, it is like this
Image
It is so difficulty to design or review the report .
Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: The problem of export file

Post by Vadim »

Hello.
Can you send us report for analize?
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: The problem of export file

Post by heqichao »

Vadim
Posts: 409
Joined: Tue Apr 23, 2013 11:23 am

Re: The problem of export file

Post by Vadim »

Hello.
We test your report, & it looks fine.
You can test in http://java.stimulsoft.com/designer.jsp
Attachments
we.PNG
we.PNG (68.13 KiB) Viewed 6163 times
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: The problem of export file

Post by heqichao »

Hello I find the reason because I set the code

Code: Select all

report.Render(true);
Post Reply