Skip to Content
avatar image
Former Member

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?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 29, 2014 at 02:26 PM

    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.

    -Dell

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 30, 2014 at 05:29 PM
    Add comment
    10|10000 characters needed characters exceeded