Looking for to create a simple report

Posted by: vidhya on 4 August 2017, 3:10 pm EST

  • Posted 4 August 2017, 3:10 pm EST

    Hi,


    I just received the cd today and i'm totally new into the reporting as well. Need some help here. My current VB6 outputs some values into word document (in a tabular format - just label and the value with headers and footers). We are planning to replace this with active report. Where do I start from. Every sample that I look into has binding with some database or some mdb file. All I want is to dynamically build the layout in active reports and output the values against the label fields. Even the label fields are dynamic so I cannot have a template and start from there.


    Can someone help with any samples that you may have done?


    Thanks


    p.s I have attached a sample report that I need to generate













































































    Client


    WEST CANADIAN DIGITAL IMAGING


    Address


     


    901 10 AVE SW


    TORONTO


    T2R0B5


    AB


    CA


     


     


    Mailing Address


    WEST CANADIAN DIGITAL IMAGING


     


    212  AVE SW


    TORONTO


    AB


    T2R0B5


    CA


     


     


     


    Cash Manager


    Test User


    Phone


    (111) 111-1111


    Fax


    (111) 111-1111


    E-Mail


     


     


     


    Account Manager


    JOHN DOE


    Account Manager Number


    423


    Responsibility Transit


    11111


    Location Transit


    11111


    Phone


    (111) 111-1111


    Fax


     


    E-Mail


     


     


     


    AMCS


     


    Department


     


    Location Transit


     


    Phone


     


    Fax


     


    E-Mail


     

  • Replied 4 August 2017, 3:10 pm EST

    Hello ,


    I recommend you to look at the following articles:


    http://www.datadynamics.com/Help/AR2Std/HX_Dynamic_Reports.html


    http://www.datadynamics.com/forums/303/ShowPost.aspx


    Thanks,


    Sergey Romanov.

  • Replied 4 August 2017, 3:10 pm EST

    Hi,


    I'm going through those links. In the second link, it has a reference to


    ' Create a reference to the report
    Dim rpt As rptDynamicReport


    Which library should I include for rptDynamicReport?


    I'm using ActiveReports 2.0.


    Thanks,


     


     


     

  • Replied 4 August 2017, 3:10 pm EST

    Actually, the sample on that KB article was originally written for ActiveReports version 1. Here's a new sample for using event handlers with dynamic reports. It's much simplified, but demonstrates the key ideas for accomplishing the tasks.

    Tim
    2008/05/DynamicReportEvents_AR2.zip
Need extra support?

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

Learn More

Forum Channels