Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameters with subreport

Status
Not open for further replies.

msilka

Programmer
Jan 17, 2002
50
US
My company has been replacing the previous version of Crystal Reports 8.0 with Version 9.0.

For the web-based reports we will be doing it with RAS.
I am using the sample report called SimpleParameterFields.
I can get the parameters passed but:

My report has 3 subreports in it.
They report information from a certain date range.
When I send the start date and end date the report appears with the correct information in the subreports but the main report does not.

Does anyone know why this is happening?

I went into the Report Designer and did a preview of the report and the main report worked fine.

It just doesn't work when you try to view via the RAS.
 
I'd suspect a minor flaw in the code, and a major one in design.

I NEVER use parameters in subreports id the parameter exists in the main. Link the main subreport to the subreports field, not a subreport parameter.

-k
 
I'd suspect a minor flaw in the code, and a major one in design.

I NEVER use parameters in subreports if the parameter exists in the main. Link the main parameter to the subreports field, not a subreport parameter.

-k
 
Yes,
I do have the main report linked to the subreports, but
I need to pass a start date and an end date parameter to the main report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top