Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Change Row's Visibility on NAV 2013 Report.

Posted on by Microsoft Employee

i2061.2.jpg"/resized-image.ashx/__size/550x0/__key/CommunityServer-Discussions-Components-Files/34/8306.1.jpg" border="0" />

and desgined on VS2010 Like this :

i would like to change row's visibility according to "G/L Account"."Account Type"'s option Value.

i 'm looking forward waiting your reply.

*This post is locked for comments

  • Suggested answer
    Re: Change Row's Visibility on NAV 2013 Report.
    1. "G/L Account"."Account Type" will be passed as text and will change depending on the current client language. That is why you will need to
      1. either to pass the value as integer
      2. or to pass a fixed option text using the OptionCaptionML property and defining the same OptionCaption for every language you use
        I'd prefer mothod b.
    2. Assume that the first detail row should be hidden (!) if the Account Type is not "AnyValue" (OptionCaption from 1.):
      Mark the whole line, call context menü "Row Visibility..." and enter into the Hidden expression:
      =Fields!AccountType_field.Value <> "AnyValue"
      or more complicated
      =Iif(Fields!AccountType_field.Value <> "AnyValue",True,False)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans