Visibility in Visual studio and Option fields

poppinspoppins Member Posts: 647
edited 2012-12-28 in NAV Three Tier
Hi everyone,

I have the following piece of code to express under Visual Studio:
CurrReport.SHOWOUTPUT := ("Employee Type"="Employee Type"::ByHours);

I want to put that in an expression under the Visibility property...I just don't know how to express the Option field ("Employee Type"="Employee Type"::ByHours)

How to do that???

Answers

  • jigneshdhandhajigneshdhandha Member Posts: 41
    First Define Boolean Variable and
    assign value

    Test1 := "Employee Type"="Employee Type"::ByHours

    after that add textbox on section and use this variable in visual studio
  • poppinspoppins Member Posts: 647
    First Define Boolean Variable and
    assign value

    Test1 := "Employee Type"="Employee Type"::ByHours

    after that add textbox on section and use this variable in visual studio

    Thanks a lot :)
Sign In or Register to comment.