Options

Reports IN NAVISION 2009 SP1 RTC

postsauravpostsaurav Member Posts: 708
edited 2010-08-30 in NAV Three Tier
Hi everyone,



I am working on reports on RTC, I am done with everything but when i write section code in the Visual Studio in the visiblity option. That is not working.



AN Example of that is i put a visibility expression for a section as

"=IIF(Fields!Work_Order_Line__MA_No__.Value <> nothing,true,false)"

but its not working.



Please explain what this expression means and how will it work.



Thanks in Advance

Thanks & Regards,
Saurav Dhyani

Do you Know this About NAV?


Connect - Twitter | Facebook | Google + | YouTube

Follow - Blog | Facebook Page | Google + Page

Answers

  • Options
    BeliasBelias Member Posts: 2,998
    Explain what do you mean with "not working"...error?does not work as expected, but it's always visible/not visible?
    my guess is that you forgot to specify what field of the dataset do you want:
    i think that you should change this
    Fields!Work_Order_Line__MA_No__.Value
    to this
    first(Fields!Work_Order_Line__MA_No__.Value)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    ara3nara3n Member Posts: 9,255
    Try it instead of nothing type blank space.


    =IIF(Fields!Work_Order_Line__MA_No__.Value <> "",true,false)
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    bonziebonzie Member Posts: 15
    What im always using is this code:

    =IIF(Fields!Work_Order_Line__MA_No__.Value <>"" ="1",false,true)

    and i guess its working :D
Sign In or Register to comment.