How change GroupHeader condition parameters at report runtime

edited 11:13PM in FastReport 4.0
how to do?

in which event?

I am using version 4.

thanks

Comments

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

    Could you give me an example ?

    Please

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

Leave a Comment