cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter passed from application not being used

Former Member
0 Kudos

Hi,

I have .NET application which renders the report from BOE using infoObject model. This report has parameter and the paramter info is passed from the application using following code.

CrystalReportViewer1.EnterpriseLogon = enterpriseSession;

CrystalReportViewer1.ReportSource = (Report)infoObject;

CrystalReportViewer1.ParameterFieldInfo = parameterFields;

But when I try to run this form...though the parameterfields have the detail of the paramter still Promt screen is scheduled by BOE to provide input for the parameter...

Can someone help me on this why the parameter value I am sending is not being used.

Thanks

Kajal

Accepted Solutions (1)

Accepted Solutions (1)

former_member208657
Active Contributor
0 Kudos

I'd like to see some more detail in your post. You didn't show how you created the parameterFields object and what values you entered there.

What you are doing should work but it could be something as simple as you spelling the parameter name incorrectly when adding it to the parameter collection.

Former Member
0 Kudos

Hi....

I did figure out...I was missing the setup of parameter type due to which I was having this problem..

Thanks

Kajal

Answers (0)