Page 1 of 1

Problem in Paso Parameters on exec

Posted: Fri Nov 30, 2007 1:47 pm
by pca
Help

When designing a report with data source requesting parameters and assign a default value for expression. This fails to call in progress, which does not take the new value. Still considering the value in design.

How can I fix

Line implemented
Report.CompiledReport.DataSources[0].Parameters[0].ParameterValue = 102


Problem in Paso Parameters on exec

Posted: Fri Nov 30, 2007 2:39 pm
by Vital
You can use following code:

Code: Select all

report.Dictionary.DataSources.ClearParametersExpression();
You need call this expression before compilation.

Thank you.

Problem in Paso Parameters on exec

Posted: Mon Dec 03, 2007 7:39 am
by pca
Thank you, it worked ok