Online Documentation for Advanced Excel Report for RAD Studio

OnCalcExpression event - Example


procedure TReportContainer.GrouppingBandsGroupHeader1CalcExpression(

  Sender: TEXLReportBand; var GroupValue: String);

begin

  GroupValue := FormatDateTime('yyyymm', MasterTable.FieldByName('Event_date').AsDateTime);

end;