Problem in Paso Parameters on exec

Stimulsoft Reports.NET discussion
Post Reply
pca
Posts: 14
Joined: Fri Nov 30, 2007 1:44 pm

Problem in Paso Parameters on exec

Post 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

Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Problem in Paso Parameters on exec

Post by Vital »

You can use following code:

Code: Select all

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

Thank you.
pca
Posts: 14
Joined: Fri Nov 30, 2007 1:44 pm

Problem in Paso Parameters on exec

Post by pca »

Thank you, it worked ok
Post Reply