The attached demo application illustrates how to dynamically select the fields to be printed in the Section Report.
Since Section Report fields can neither be added nor deleted at run time, the alternative we present in this application is to prepare the Section Report for all possible fields, leaving the fields’ Visible property as False. Therefore, you will be able to enable the fields’ visibility via scripts by using the SectionReport’s ActiveReport_ReportStart event.