ActiveReports 6 Online Help
Parameter Class
Members  Example 

A Parameter is used to substitute values for parameter placeholders in the report's data source SQL query text.
Object Model
Parameter ClassParameter Class
Syntax
'Declaration
 
Public Class Parameter 
public class Parameter 
Example
private void rptDataDynamics_ReportStart(object sender, System.EventArgs eArgs)
{
    this.Parameters[0].DefaultValue = "Germany";
    this.Parameters[0].Key = "country";
    this.Parameters[0].Prompt = "Country: ";
    this.Parameters[0].Tag = "some extra data";
    this.Parameters[0].Type = Parameter.DataType.String;
}
Private Sub rptDD_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.Parameters(0).DefaultValue = "Germany"
    Me.Parameters(0).Key = "country"
    Me.Parameters(0).Prompt = "Country: "
    Me.Parameters(0).Tag = "Some extra data"
    Me.Parameters(0).Type = Parameter.DataType.String
End Sub
Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.Parameter

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Parameter Members
DataDynamics.ActiveReports Namespace
ParameterCollection Class
Parameters Property

Send Feedback