ActiveReports 9
Value Property (Parameter)
Example 

Gets or sets the value of the parameter to be used in parameter placeholder substitution.
Syntax
'Declaration
 
Public Property Value As System.String
public System.string Value {get; set;}

Property Value

A string value that is used to replace the parameter placeholder text in the report's data source SQL query.
Example
private void button1_Click(object sender, System.EventArgs e)
{
    SectionReport1 rpt = new SectionReport1();
    rpt.Parameters["country"].Value = "Germany";
    rpt.Run();
    arv.Document = rpt.Document;
}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim rpt As New SectionReport1
    rpt.Parameters("country").Value = "Germany"
    rpt.Run()
    arv.Document = rpt.Document
End Sub
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 Class
Parameter Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum