How change GroupHeader condition parameters at report runtime

edited 1:08AM in FastReport 4.0
how to do?

in which event?

I am using version 4.

thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:08AM
    from delphi
    after loading the report and before calling show report
    use the findobject method to get the band and modify its properties.
  • edited 1:08AM
    thanks

    Could you give me an example ?

    Please

  • gpigpi
    edited 1:08AM
    frxReport1.LoadFromFile('C:/test.fr3');
    TfrxGroupHeader(frxReport1.FindObject('GroupHeader1')).Condition := 'Copy(<Customers."Company">, 1, 1)';
    frxReport1.ShowReport;

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.