Skip to main content

Scripting - what is the equivalent to the ActiveReports NoData() event?

Comments

2 comments

  • Ryan Cooney

    Hi Chris,

    You should be able to do this without scripting. Every element of a report (including the bands) has a Visible property that can be set using an expression. If you select the element you want to show/hide and then click the Expressions tab (the curly f on the right) you can set the Visible property to an expression like:

    [DataSource.RowCount] > 0

    or

    [DataSource.RowCount] = 0

     

    --Ryan

    0
  • Chris Dunlop

    Perfect, thanks Ryan!

    0

Please sign in to leave a comment.