XML Data as a datasource to subreport

Posted by: guruprasath.ws on 28 October 2024, 1:12 am EST

    • Post Options:
    • Link

    Posted 28 October 2024, 1:12 am EST

    Hi

    I have an xml data and I want to use it as a datasource to a subreport. I am using RPX section report scripting in C#.

    Below is the sample XML data that I need to use in Subreport as a datasource.

    <NewDataSet>
      <Table1>
        <SnapOn>A</SnapOn>
        <NoRows>46</NoRows>
      </Table1>
      <Table1>
        <SnapOn>B</SnapOn>
        <NoRows>6</NoRows>
      </Table1>
      <Table1>
        <SnapOn>C</SnapOn>
        <NoRows>4</NoRows>
      </Table1>
      <Table1>
        <SnapOn>D</SnapOn>
        <NoRows>18</NoRows>
      </Table1>
      <Table1>
        <SnapOn>E</SnapOn>
        <NoRows>115</NoRows>
      </Table1>
      <Table1>
        <SnapOn>F</SnapOn>
        <NoRows>174</NoRows>
      </Table1>
    </NewDataSet>
    

    Can you please help me to get this working. Thank you!

  • Posted 28 October 2024, 5:36 am EST

    Hi Guruprasath,

    You may refer to the attached documentation demonstrating using subreports with XML Data: Subreports with XML Data

    We hope this helps!

    Attachment: SubrepotWithXMLData.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels