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

Comments

  • edited 5:17PM
    Hello,

    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]
  • edited 5:17PM
    Hello,

    not from my application.
    From the Data Band i need some Datavalues in the footer.

    Frank
    AlexTZ wrote: »
    Hello,

    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]
  • edited 5:17PM
    Hello,

    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]
  • edited 5:17PM
    Thanks,

    that??s work.

    Regards, Frank

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.