ReportDocument.SetParameterValue Method

Sets the current value of a parameter field at the specified index. The value can be a primitive, ParameterValue, an array of either type, or a ParameterValues collection.

Overload List

Description
ReportDocument.SetParameterValue Method (Integer,Object) Sets the current value of a parameter field at the specified index. The value can be a primitive, ParameterValue, an array of either type, or a ParameterValues collection.
ReportDocument.SetParameterValue Method (String,Object) Sets the current value of a parameter field. The value can be a primitive, ParameterValue, an array of either type, or a ParameterValues collection.
ReportDocument.SetParameterValue Method (String,Object,String) Sets the current value of a parameter field in a subreport. The value can be a primitive, ParameterValue, an array of either type, or a ParameterValues collection.

Example

This example sets a parameter at the specified index to 10.

'Declaration

      myReportDocument.SetParameterValue("2", 10)
      
      reportDocument->SetParameterValue("2", 10);
      
      reportDocument.SetParameterValue("2", 10);
      

See Also

Reference

ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace