diff --git a/Report/DefaultReportCreator.cs b/Report/DefaultReportCreator.cs index 3d85233cf..7188780d5 100644 --- a/Report/DefaultReportCreator.cs +++ b/Report/DefaultReportCreator.cs @@ -1253,7 +1253,7 @@ namespace BeWo.Report string[][] lContent = helper.PrepareContentArrayForSupportConceptExport(oids.ToArray()); DataTable table = new DataTable(); - int columnNumber = 3; + int columnNumber = lHeaderCaption.Count(); for (int i = 0; i < columnNumber; i++) table.Columns.Add(lHeaderCaption[i], typeof(string));