Using array value in visible property

grouicgrouic Member Posts: 34
edited 2015-07-06 in NAV Three Tier

Does anybody know how to hide for eg the first six columns of a matrix on a page ? It seems it's not possible to set a boolean matrix value (eg array_fieldvisible[1]) in the visible property of a page variable.

Any idea ?



  • Options
    BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    Yep, array values are not supported in the visibility expressions on fields, so you can either assign individual variables to the column visibility or you can assign an expression such as Visible=NoOfRows >= 1 on the first column, NoOfRows >= 2 on the second etc.
    -this example will of course hide the right-most columns and not the first ones as you wish, but same logic would apply.
    Bardur Knudsen
    Microsoft - Dynamics NAV
Sign In or Register to comment.