using LayoutAction in Script Editor

Posted by: zuhrias on 4 August 2017, 3:19 pm EST

  • Posted 4 August 2017, 3:19 pm EST

    <span id="result_box" class=""><span>How to use LayoutAction function in the script editor.
    </span><span>my syntax is:

    </span><span><i>LayoutAction = ddLAPrintSection Or ddLAMoveLayout

    </span><span>but this syntax doesn't work, please enlightenment.

  • Replied 4 August 2017, 3:19 pm EST


    If you are working with scripts,you have to change the me keyword that you might have used in the codebehind to rpt.For instance to avail the LayoutAction method,you may use script as

                                rpt.LayoutAction = 6

    Please take a look at this help document regarding scripts in ActiveReports 2.0 for COM and this help document regarding the LayoutAction method. I am also attaching a small sample application in this regard.Please observe that I have used the LayoutAction to skip the section when the value for Field1 is 3.


Need extra support?

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

Learn More

Forum Channels