using LayoutAction in Script Editor

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

  • Posted 4 August 2017, 3:19 pm EST

    How to use LayoutAction function in the script editor.
    my syntax is:

    LayoutAction = ddLAPrintSection Or ddLAMoveLayout


    but this syntax doesn't work, please enlightenment.

    Thanks,
    Zuhrias
  • Replied 4 August 2017, 3:19 pm EST

    Hello,

    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.

    Regards,
    Prantik

    2010/09/Test.zip
Need extra support?

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

Learn More

Forum Channels