The DHTML report page viewer is an instance of the CrystalReportViewer class which has many methods that affect how reports are displayed in a web browser. Some of these methods must be called before the viewer can render a report.
<%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>
<%@ page import="com.crystaldecisions.reports.sdk.ReportClientDocument" %>
CrystalReportViewer viewer = new CrystalReportViewer();
The viewer has now been created and initialized.
viewer.setReportSource(reportSource);
Note: Setting setOwnPage to false disables exporting and printing.
viewer.setOwnPage(true);
Note: Once the viewer is created and initialized, you can set a variety of properties related to its display characteristics, database logon handling, and parameter prompting.
| Business Objects http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ |