Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Set Parameter in CR.

Hello All,

I have created a parameter in my C# coding as : cryRptLabDetails.SetParameterValue("TotalLABPaidAmount", paidamt);

I want to come this in my crystal report in parameter tab. So how can I do it?


Former Member

You need to create the parameter in the report itself before you can set it from your code.  In the Field Explorer for the report, there should be a section called "Parameters" - right-click on the heading to create a new param.  The report and your code must use the exact same parameter name.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question