Data in Footer
Hi,
how can i store Data in a Variable and use this later in Footer?
I am new in .NET and FR, so please step by step.
Regards, Frank
how can i store Data in a Variable and use this later in Footer?
I am new in .NET and FR, so please step by step.
Regards, Frank
Comments
Please describe your task in detail. Do you want to pass some data from your application to the report, and print it in a footer?
to pass the data:
report1.SetParameterValue("myParam", 10);
report1.Show();
to print the data, put this in the Text object:
[myParam]
not from my application.
From the Data Band i need some Datavalues in the footer.
Frank
You may declare a private variable in the script:
private int myVariable;
in the data band's BeforePrint event you may initialize it with some value:
private void Data1_BeforePrint(object sender, EventArgs e)
{
myVariable = ((Int32)Report.GetColumnValue("Employees.EmployeeID"));
}
and print it in the footer:
[myVariable]
that??s work.
Regards, Frank