Visible property for label/textbox

Hi, In NAV4.0 report design, may I write some source code to control the Visible property for some controls, but not setup in Lable or Text → Properties. Since I want to show some label/textbox , which is determined by some conditions. All labels/textboxes are in the same section.

Thanks for your help.


You can use Text Control and based upon condition , you can define its values (for the Invisible case define value as ‘’, means blank).

In case you want to next text/ label control up (when the Label/ Text above is blank), then try exploring COMPRESSARAARY function.