How to add new object (textbox, label, image) and a dynamic table at DSR file

Posted by: steventong on 4 August 2017, 2:31 pm EST

  • Posted 4 August 2017, 2:31 pm EST

    I want to know how to add a new object (textbox, label, image) and a dynamic tabel at a DSR report file at ActiveReport_Initialize() or other section because I have two recordset and want to create dynamic table with outline (see the attachment, I don't know how many record each time, because just depend on the recordset).

    So how to do this by coding at Initialize() section



  • Replied 4 August 2017, 2:31 pm EST

    Use the unbound approach to feed the data into the report. If the FetchData EOF argument is set to false, the report will continue to add rows of data to the report. It will add detail sections to the completed report while the EOF is false. Here's a complete walkthrough of using the unbound method:
    http://www.datadynamics.com/Help/AR2/AR2Std/HX_Simple_Unbound_Reports.html

    Which is found in the unbound reporting section of the help file:
    http://www.datadynamics.com/Help/AR2/AR2Std/HX_Chapter_6_Unbound_Reporting.html
Need extra support?

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

Learn More

Forum Channels