Search code examples
crystal-reports

Create section dynamically within a crystal report


I have a requirement where i need to create a section on crystal report multiple times based on a value coming from an XML. I am not using Java or C#. i need to do this within Crystal report.

Version = Crystal Report 2016


Solution

  • If the maximum number of labels is not too high, you could

    • prepare as much detail sections as will be needed at max,
    • and control the visibility of each detail section according to your value in "NumberOfLabels"

    as shown for MaxRowCount in this answer.