O
Osvaldo
I'm trying with no luck to set three parameters into a subreport placed inside a main report.
First, i tried to do it through the CrystalReportViewer. Did not work.
Then I tried to get the subreport object as a ReportDocument object and change its CurrentValues collection. In this case, the values appear at runtime and are changed. (I use watches to be sure, and it's set). But when report is loaded, the user is asked to introduce the 3 values again.
Finally, I tried to get the Parameter as a ParameterDefinition object directly through the DataDefinition.ParametersFields collection, which as a "subreportname" option.
In all cases, the screen appears asking the users to write the values.
WHAT can I do? I don't understand very well which is the difference between CurrentValues and DefaultValues. WHY ARE THERE more than ONE CurrentValue?
I have to close a proyect tomorrow, I would thank very much a quick answer.
--
*******************************
Osvaldo Bisignano
Buenos Aires, Argentina
ICQ#96485948
First, i tried to do it through the CrystalReportViewer. Did not work.
Then I tried to get the subreport object as a ReportDocument object and change its CurrentValues collection. In this case, the values appear at runtime and are changed. (I use watches to be sure, and it's set). But when report is loaded, the user is asked to introduce the 3 values again.
Finally, I tried to get the Parameter as a ParameterDefinition object directly through the DataDefinition.ParametersFields collection, which as a "subreportname" option.
In all cases, the screen appears asking the users to write the values.
WHAT can I do? I don't understand very well which is the difference between CurrentValues and DefaultValues. WHY ARE THERE more than ONE CurrentValue?
I have to close a proyect tomorrow, I would thank very much a quick answer.
--
*******************************
Osvaldo Bisignano
Buenos Aires, Argentina
ICQ#96485948