Can I use a custom data source?

Posted by: xenos on 4 August 2017, 2:34 pm EST

  • Posted 4 August 2017, 2:34 pm EST


        I need to generate reports from our product's custom binary data file.

        There is already some reporting code in place that "cooks" the binary data into C++ objects.

        What I want to do is create a report template, cook the binary data, and then build reports at runtime using data stored in the c++ objects.

        Is this possible with Active Reports 2.0 (ActiveX)?

  • Replied 4 August 2017, 2:34 pm EST

    You'll need to write the report dll or executable in VB6. When this is done, the reports can be run in unbound mode. This allows the report to use any data manually passed to the report. For a better understanding of this process, please see any of the unbound samples included with the evaluation copy. They are in the Unbound folders normally located in "C:\Program Files\Data Dynamics\ActiveReports Pro\Samples\Visual Basic Samples"
  • Replied 4 August 2017, 2:34 pm EST

    Do we have to use VB6 or will C++ be ok?

    Also, I noticed the XML samples. This might be a good option for us as long as the speed is good enough. How large are the biggest XML files you have tested with?

  • Replied 4 August 2017, 2:34 pm EST

    ActiveReports 2.0 is only officially supported in VB6. Some of our users have been able to get it working in C++, but it's not recommended due to control licensing issues.

    XML is the slowest of the data sources, but you'll need to use the evaluation copy to determine whether it's performance is acceptable for you.
Need extra support?

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

Learn More

Forum Channels