cancel
Showing results for 
Search instead for 
Did you mean: 

changing data base connection using viewer tags

Former Member
0 Kudos

Hi All

I am trying to generate the JSP report using the viewer tag libraries. But i unable to change the database connection properties of the .rpt file.

Is it possible to change the database connection properties using the viewer tags?. I would like to generalise the report generation process. so that i am developing one component, which takes the report file name and parameters, based on these it have to generate report either be PDF/RTF/Excel/JSP. I can generate the PDF and RTF but not JSP. can you please help me to solve this problem.

My JSP code follows

<%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>

<html>

<body>

<crviewer:viewer viewerName="CrystalViewer" reportSourceType="reportingComponent" >

<crviewer:report reportName="/reports/Fixe_Jahresmittel.rpt"/>

</crviewer:viewer>

</body>

</html>

Is any tag attributes are available to change the database connection properties?

Thank you in Advance

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

You'd have to go through ReportClientDocument, not the viewer tags, for any changes to that info.

Sincerely,

Ted Ueda

Answers (0)