Skip to Content
0
Former Member
Nov 26, 2009 at 06:19 AM

Dynamic and cascading parameters with ReportViewerBean

35 Views

Hi

I have created a thick-client Crystal reporting applet using CR4E 2 update 3. It gets called by my company's main application to either view or produce reports. (This is not a web application)

Reports generally run fine, however when it displays to screen and the parameter window comes up for dynamic/cascading parameters, it never pulls any database values. If you enter real values, the report still produces fine and brings up all matching records. All the reports were written using the Xi2 report designer (11.5.11.1470).

I would like to know if there are any work-arounds or patches that can help deal with this parameter window issue, or if there is perhaps an issue with my code.

This problem seems very similar to the following thread:

JRC thick client dynamic parameter issue

jrc-thick-client-dynamic-parameter-issue

The current logic I have implement in the code is as follows:

1. Process passed parameters

2. Test database connection

3. Open RPT file

4. Update table data sources

5. Display/Export/Print report

6. Close report

Displaying the report is achieved via the ReportViewerBean.

If you would like screenshots or code samples for analysis, feel free to ask.

Thanks