Forms Help!

Posted by: mendez on 4 August 2017, 3:11 pm EST

  • Posted 4 August 2017, 3:11 pm EST

    Hi, I'm currently new at Data Dynamics, I was using Crystal Reports until now that I saw something.



    I saw a software that I belive uses Data Dynamics Active Reports and a brief summary of waht it does is the following:



    1. I select from the list a form.

    2. I open the form from a file path that is provided on the list form.

    3. the form is opened and you can fill the form on the priview, save it, etc.

    4. You can also merge from the database, save the data and reopen it.



    My question is, HOW ? how I do that ?

    what shoud I read ?



    do I need to create a code or something to draw the form ?



    I attach the sample.

    Any help will be usefull



    Thanks
    2008/06/Test-2.zip
  • Replied 4 August 2017, 3:11 pm EST

    It seems that this application is using End User Designer control to design and save reports and ActiveReports Viewer control to view them.
    You can find more information regarding using these controls at the following documentation pages:

    Run-time Designer Control

    Using ActiveReports' ActiveX Viewer Control
  • Replied 4 August 2017, 3:11 pm EST

    I open one of the files and this is a part of the code file:



    ********************************





    FORMAT 2



    SIDE 1



    SHADING





    GRAPHICS

    0.00, 2.0, 14.00, 4.3, ACORD_Logo.bmp



    LINES/BOXES

    22.50,77.50,23.50,77.50, 1

    22.50,72.50,23.50,72.50, 1

    22.50,67.50,23.50,67.50, 1

    22.50,63.50,23.50,63.50, 1

    22.50,39.50,23.50,39.50, 1

    22.50, 4.50,23.50, 4.50, 1

    22.50, 1.50,28.50, 1.50, 1

    23.50, 0.00,23.50,80.00, 1

    21.50,77.50,22.50,77.50, 1

    21.50,72.50,22.50,72.50, 1

    21.50,67.50,22.50,67.50, 1

    21.50,63.50,22.50,63.50, 1

    21.50,39.50,22.50,39.50, 1

    21.50, 4.50,22.50, 4.50, 1

    21.50, 1.50,22.50, 1.50, 1

    22.50, 0.00,22.50,80.00, 1

    20.50,77.50,21.50,77.50, 1

    20.50,72.50,21.50,72.50, 1

    20.50,67.50,21.50,67.50, 1

    20.50,63.50,21.50,63.50, 1

    20.50,39.50,21.50,39.50, 1

    20.50, 4.50,21.50, 4.50, 1

    20.50, 1.50,21.50, 1.50, 1

    21.50, 0.00,21.50,80.00, 1

    19.50,77.50,20.50,77.50, 1

    19.50,72.50,20.50,72.50, 1

    19.50,67.50,20.50,67.50, 1

    19.50,63.50,20.50,63.50, 1

    19.50,39.50,20.50,39.50, 1

    19.50, 4.50,20.50, 4.50, 1

    19.50, 1.50,20.50, 1.50, 1

    20.50, 0.00,20.50,80.00, 1

    30.50, 0.00,30.50,80.00, 1

    29.50, 0.00,31.50, 0.00, 1

    29.50, 1.50,31.50, 1.50, 1

    29.50, 6.50,31.50, 6.50, 1

    29.50,11.50,31.50,11.50, 1

    29.50,16.50,31.50,16.50, 1

    29.50,26.50,31.50,26.50, 1

    31.50, 0.00,31.50,80.00, 1

    29.50,40.00,31.50,40.00, 1

    29.50,41.50,31.50,41.50, 1

    29.50,46.50,31.50,46.50, 1

    29.50,51.50,31.50,51.50, 1

    29.50,56.50,31.50,56.50, 1

    29.50,66.50,31.50,66.50, 1

    28.50,26.50,29.50,26.50, 1

    28.50,16.50,29.50,16.50, 1

    28.50,11.50,29.50,11.50, 1

    28.50, 6.50,29.50, 6.50, 1

    28.50, 1.50,29.50, 1.50, 1

    28.50, 0.00,29.50, 0.00, 1

    29.50, 0.00,29.50,80.00, 1

    28.50,66.50,29.50,66.50, 1

    28.50,56.50,29.50,56.50, 1

    28.50,51.50,29.50,51.50, 1

    28.50,46.50,29.50,46.50, 1

    28.50,41.50,29.50,41.50, 1

    28.50,40.00,29.50,40.00, 1

    19.50, 0.00,19.50,80.00, 1

    18.50, 1.50,19.50, 1.50, 1

    18.50, 4.50,19.50, 4.50, 1

    18.50,39.50,19.50,39.50, 1

    18.50,63.50,19.50,63.50, 1

    18.50,67.50,19.50,67.50, 1

    18.50,72.50,19.50,72.50, 1

    18.50,77.50,19.50,77.50, 1

    24.00,55.00,28.50,55.00, 1

    24.00,58.00,28.50,58.00, 1

    24.00,61.00,28.50,61.00, 1

    24.00,64.00,28.50,64.00, 1

    24.00,67.00,28.50,67.00, 1

    24.00,70.00,28.50,70.00, 1

    23.50,36.00,28.50,36.00, 1

    23.50,43.00,28.50,43.00, 1

    23.50,49.00,28.50,49.00, 1

    23.50,73.00,28.50,73.00, 1

    23.50,33.50,28.50,33.50, 1

    23.50,31.00,28.50,31.00, 1

    23.50,28.50,28.50,28.50, 1

    23.50,25.50,28.50,25.50, 1

    23.50,22.50,28.50,22.50, 1

    23.50,19.50,28.50,19.50, 1

    23.50,15.50,28.50,15.50, 1

    23.50,11.50,28.50,11.50, 1

    23.50, 7.50,28.50, 7.50, 1

    23.50,55.00,24.50,55.00, 1

    23.50, 0.00,23.50,80.00, 1

    24.50, 0.00,28.50, 0.00, 1

    25.50, 0.00,25.50,80.00, 1

    26.50, 0.00,26.50,80.00, 1

    27.50, 0.00,27.50,80.00, 1

    28.50, 0.00,28.50,80.00, 1

    11.50,58.50,13.50,58.50, 1

    12.50,56.50,12.50,58.50, 1

    11.50,51.50,13.50,51.50, 1

    12.50,49.50,12.50,51.50, 1

    6.50, 6.50, 6.50,31.50, 1

    5.50, 6.50, 6.50, 6.50, 1

    5.50, 6.50, 5.50,31.50, 1

    4.50, 6.50, 5.50, 6.50, 1

    52.50,71.00,57.50,71.00, 1

    52.50,56.00,57.50,56.00, 1

    52.50,50.00,57.50,50.00, 1

    52.50,48.00,57.50,48.00, 1

    52.50,46.00,57.50,46.00, 1

    52.50,44.00,57.50,44.00, 1

    52.50,38.00,57.50,38.00, 1

    52.50,33.00,57.50,33.00, 1

    52.50,27.00,57.50,27.00, 1

    52.50,24.00,57.50,24.00, 1

    52.50,22.00,57.50,22.00, 1

    52.50,20.00,57.50,20.00, 1

    52.50, 2.00,57.50, 2.00, 1

    52.50, 0.00,57.50, 0.00, 1

    53.50, 0.00,53.50,80.00, 1

    54.50, 0.00,54.50,80.00, 1

    55.50, 0.00,55.50,80.00, 1

    56.50, 0.00,56.50,80.00, 1

    57.50, 0.00,57.50,80.00, 1

    51.50,71.00,52.50,71.00, 1

    51.50,56.00,52.50,56.00, 1

    51.50,50.00,52.50,50.00, 1

    51.50,44.00,52.50,44.00, 1

    51.50,38.00,52.50,38.00, 1

    51.50,33.00,52.50,33.00, 1

    51.50,27.00,52.50,27.00, 1

    51.50,24.00,52.50,24.00, 1

    51.50,22.00,52.50,22.00, 1

    51.50,20.00,52.50,20.00, 1

    51.50, 2.00,52.50, 2.00, 1

    52.50, 0.00,52.50,80.00, 1

    51.50, 0.00,52.50, 0.00, 1

    33.50, 0.00,33.50,80.00, 1

    32.50, 0.00,46.50, 0.00, 1

    32.50,16.00,46.50,16.00, 1

    32.50,52.00,47.50,52.00, 1

    32.50,59.00,47.50,59.00, 1

    32.50,66.00,47.50,66.00, 1

    32.50,73.00,47.50,73.00, 1

    34.50, 0.00,34.50,80.00, 1

    35.50,52.00,35.50,80.00, 1

    35.50,16.00,35.50,52.00, 1

    35.50, 0.00,35.50,16.00, 1

    36.50,52.00,36.50,80.00, 1

    36.50,16.00,36.50,52.00, 1

    36.50, 0.00,36.50,16.00, 1

    37.50,52.00,37.50,80.00, 1

    37.50,16.00,37.50,52.00, 1

    37.50, 0.00,37.50,16.00, 1

    38.50, 0.00,38.50,80.00, 1

    37.50,17.00,41.50,17.00, 1

    37.50,25.00,41.50,25.00, 1

    37.50,26.00,41.50,26.00, 1

    37.50,34.00,41.50,34.00, 1

    37.50,35.00,41.50,35.00, 1

    37.50,43.00,41.50,43.00, 1

    37.50,44.00,41.50,44.00, 1

    39.50, 0.00,39.50,80.00, 1

    40.50,52.00,40.50,80.00, 1

    40.50,16.00,40.50,52.00, 1

    40.50, 0.00,40.50,16.00, 1

    41.50, 0.00,41.50,80.00, 1

    42.50,52.00,42.50,80.00, 1

    42.50,16.00,42.50,52.00, 1

    42.50, 0.00,42.50,16.00, 1

    43.50,52.00,43.50,80.00, 1

    43.50,16.00,43.50,52.00, 1

    43.50, 0.00,43.50,16.00, 1

    44.50,52.00,44.50,80.00, 1

    44.50,16.00,44.50,52.00, 1

    44.50, 0.00,44.50,16.00, 1

    45.50,52.00,45.50,80.00, 1

    45.50,16.00,45.50,52.00, 1

    45.50, 0.00,45.50,16.00, 1

    46.50,52.00,46.50,80.00, 1

    46.50,16.00,46.50,52.00, 1

    46.50, 0.00,46.50,16.00, 1

    47.50,52.00,47.50,80.00, 1

    60.00,70.50,63.50,70.50, 1

    59.50,73.00,63.50,73.00, 1

    59.50,68.00,63.50,68.00, 1

    59.50,55.50,63.50,55.50, 1

    59.50,13.50,63.50,13.50, 1

    59.50, 3.00,63.50, 3.00, 1

    60.50, 0.00,60.50,80.00, 1

    59.50, 0.00,59.50,80.00, 1

    59.40,40.00,59.40,42.00, 2

    15.50, 0.00,15.50, 6.00, 1

    15.00, 3.00,17.50, 3.00, 1

    23.50, 0.00,24.50,80.00, 1

    18.50, 0.00,31.50,80.00, 4

    11.50,64.50,13.50,80.00, 1

    11.50,56.50,13.50,64.50, 1

    11.50,49.50,13.50,56.50, 1

    11.50,40.50,13.50,49.50, 1

    11.50,31.50,13.50,40.50, 1

    5.50,62.50, 7.50,80.00, 1

    9.50,51.50,10.50,80.00, 1

    10.50,51.50,11.50,80.00, 1

    9.50,31.50,11.50,51.50, 1

    7.50,62.50, 9.50,80.00, 1

    4.50,31.50,13.50,80.00, 4

    4.50, 0.00,13.50,31.50, 4

    2.50,68.00, 4.50,80.00, 4

    51.50, 0.00,57.50,80.00, 4

    47.50,52.00,49.50,61.00, 1

    47.50,71.00,49.50,80.00, 1

    47.50,61.00,49.50,71.00, 1

    46.50,47.00,47.50,52.00, 1

    46.50,33.00,47.50,46.00, 1

    46.50, 0.00,50.50,52.00, 1

    32.50, 0.00,50.50,80.00, 4

    14.50,43.50,17.50,45.50, 1

    14.50,43.50,17.50,80.00, 4

    58.50,52.50,59.50,54.50, 1

    58.50,47.50,59.50,49.50, 1

    58.50, 0.00,63.50,80.00, 4

    13.50,29.50,14.50,31.50, 1

    13.50,22.50,14.50,24.50, 1

    14.50, 0.00,17.50, 6.00, 1

    14.50, 0.00,17.50,43.50, 4



    FORM TEXT

    "450BU",19.50, 0.00,"C", 1.50,"VEH"

    "450BU",24.17,15.50,"C", 4.00,"MILE 1 WAY"

    "450BU",24.17,19.50,"C", 3.00,"# DAYS"

    "450BU",24.17,22.50,"C", 3.00,"# WKS"

    "450BU",24.17,28.50,"C", 2.50,"PER-"

    "450BU",24.17,31.00,"C", 2.50,"MULTI-"

    "450BU",24.17,33.50,"C", 2.50,"GAR-"

    "450BU",24.50, 0.00,"C", 1.50,"VEH"

    "450BU",24.50,25.50,"C", 3.00,"USAGE"
  • Replied 4 August 2017, 3:11 pm EST

    Thank you for your reply. Unfortunately, I am not sure what the file information represents. However it seems they may be drawing coordinates. If that is the case and the text entered into the form is drawn onto the report it can be done using the DrawText method. You can find some additional information about the DrawText method here:

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

    Thanks.
        Eric

  • Replied 4 August 2017, 3:11 pm EST

    Hi Erick,



    Thanks a lot! By the way if you can see on the image I attach at the begining, on the report you can add text or write in the report . how ? how can I do that ?
  • Replied 4 August 2017, 3:11 pm EST

    Thank you for your reply. Unfortunately, I do not have any information available as to how that application was created. It appears they display the report, and provide based on the coordinates of a user click add textboxes for data to be entered into. Finally I would say they may use DrawText to draw the information entered into the textbox onto the report. Please note I can only speculate as to how the report may be used / created as it is not a typical use case of ActiveReports. Typically users will create a custom forum for their customers to enter data into, and then send the data to the report.

    Thanks,
        Eric

Need extra support?

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

Learn More

Forum Channels