On-line Documentation

OnCalcExpression event - Example


procedure TReportContainer.GrouppingBandsGroupHeader1CalcExpression(

  Sender: TEXLReportBand; var GroupValue: String);

begin

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

end;