Hi Aya,
I not sure i understand what you need.
But i will give it a try.
Define your param in the designer and give them default value for test.
So now you have 2 params one is the source and the other is the result.
In the code behind you can do this.
public
myReport()
{
InitializeComponent();
this
.ReportParameters[
"Result"
].Value =
this
.ReportParameters[
"Source"
].Value;
}
public
myReport(
string
myRealParam)
{
InitializeComponent();
this
.ReportParameters[
"Source"
].Value = myRealParam;
this
.ReportParameters[
"Result"
].Value =
this
.ReportParameters[
"Source"
].Value;
}
Or you can use the Designer To say report parameter > result > value > = = Parameters.Source.Value
Its really hard to provide the correct solution with little information.
If this doesn't help ( i hope it will ), i will have so many question.
regards,
Pierre