on 10-21-2014 1:13 PM
Hi Team,
We required to excute the the configured crystal report and need to generate the Excel file as tabular format(Not like the crystal report template format). So, Could you please provide us the code to get the Sql Queries for the reportId.
Thank you...
Hi Ashok,
Try using the below code snippet to check whether you are able to get the sql for the report.
GroupPath grpPath = new GroupPath();
//get CR SQL query string
String reportSQL=reportClientDoc.getRowsetController().getSQLStatement(grpPath,null);
System.out.println("report SQL String: "+reportSQL);
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.