Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

setting up the parameter in Crystal Reports Designer

$
0
0

Hi,

I migrated the web project from VS 2003 to VS 2008. everything is working fine. I am passing the parameter programatically to the crystal report. when i run the web project it is asking to enter the Value of the parameter. upon entering the value the report is opening.  Can you guys help me how to set the parameter properties in the Crystal reports designer.? below is my code that i am passing the parameter programatically.

        crParameterDiscreteValue.Value = Request.QueryString("CKID")
        crParameterFieldDefinitions = oRpt.DataDefinition.ParameterFields
        crParameterFieldDefinition = crParameterFieldDefinitions.Item("CRID")
        crParameterValues = crParameterFieldDefinition.CurrentValues
        crParameterValues.Add(crParameterDiscreteValue)
        crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)

Thanks.


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>