Skip to Content
author's profile photo Former Member
Former Member

changing data base connection using viewer tags

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 19, 2008 at 04:03 PM

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

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.