Hide Captions in Report

LijncoLijnco Member Posts: 22
In some situations we want to hide captions or fields in a report?
IF <some arguments> THEN
controlname.VISIBLE(FALSE);

But that doesn't work because it says i have to define a variable
The controlname is the name of the control

Comments

  • kitikkitik Member Posts: 230
    You need to create two sections: one with the control and the other one without it.
    Print one or the other section depending on <some arguments>

    Salut!
    Laura Nicolàs
    Author of the book Implementing Dynamics NAV 2013
    Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
  • LijncoLijnco Member Posts: 22
    Thank you Katik,
    We solved it with variables.
Sign In or Register to comment.