How to Insert A INTER - SECTION Line?

Posted by: ngchintamani on 4 August 2017, 3:06 pm EST

  • Posted 4 August 2017, 3:06 pm EST

    Can I Insert one line in multipal sections. Means a Line starting in Report Header ends in Report Footer?

    I tried to put different lines in different sections but shows gaps. It dosent look as a contineous line due to DataFields (CanGrow=True).
  • Replied 4 August 2017, 3:06 pm EST

    You could use the DrawLine method in the PageEnd event:

    Private Sub ActiveReport_PageEnd()
    Canvas.DrawLine 1440, 1000, 1440, 14400
    End Sub

    Some more information can be found here: http://www.datadynamics.com/Help/AR2Std/HX_Canvas_DrawLine.html
  • Replied 4 August 2017, 3:06 pm EST

     ZachB wrote:
    You could use the DrawLine method in the PageEnd event:

    Private Sub ActiveReport_PageEnd()
    Canvas.DrawLine 1440, 1000, 1440, 14400
    End Sub

    Some more information can be found here: http://www.datadynamics.com/Help/AR2Std/HX_Canvas_DrawLine.html




    This is fine in design-time practise.

    What about the designing the reports in a Designer? How user can deign & preview?

  • Replied 4 August 2017, 3:06 pm EST

    Using DrawLine function in PageEnd event is fine in design-time practise.

    I am trying to update the sample example of Diamond Reports. In that how user can deign & preview?

    How to draw line while designing the reports in a Designer?
  • Replied 4 August 2017, 3:06 pm EST

    You should be able to add in a new custom button to the Designer.  When the user selects the new line control, you can place the necessary script code into the report by using the AddCode method.  More information on this method can be found here: http://www.datadynamics.com/Help/AR2Std/HX_ActiveReport_Method_AddCode.html


Need extra support?

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

Learn More

Forum Channels