web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Alter the way plain text on orderline shows

(0) ShareShare
ReportReport
Posted on by

Here some questions regarding text on orderlines:

  1. Plain text is only possible from the description field/column and has a maximum number of characters. How can we get more space for more characters?
  2. Is it possible to begin the text from item column?
  3. An orderline with text still shows "0" in colums quantity, salesprice and totals on reports - how can these be "hidden"? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,202 Super User 2026 Season 1 on at

    1. you can reduce the width of other columns and increase the columns width of description.

    Or try by setting CanGrow property of the Description column to yes

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    For decimal field if you do not want to display 0 then you can copy the function from any one of the standard reports i.e BlankZero from report properties --> code or below is the function.

    Public Function BlankZero(ByVal Value As Decimal)
        if Value = 0 then
            Return ""
        end if
        Return Value
    End Function
    Just use this function: ex. Code.BlankZero(Fields!Quantity.Value)

  • Community Member Profile Picture
    on at

    Hi Suresh,

    Thanks for your suggested answer. I can't find the BlankZero in any report properties - can you show me more detailed where I should put the code on ie. report 1306?

    Thank you.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,202 Super User 2026 Season 1 on at

    BlanknZero function is already available in Report 1306

    You can check it in Report Properties

    Right Click on your report and select Report Properties

    Select Code on Left side options

    You will see BlankZero function

    we have to use it as =code.BlankZero(Fields!MyField.value)

    Just add Code.Blankzero in your field expression

  • mmv Profile Picture
    11,471 on at

    Hi,

    You may find the BlankZero as below:

    Best Regards,

    MMV

  • Community Member Profile Picture
    on at

    Hi Again,

    I dont get report properties when right clicking, but if I go to "design" the report I can gain access to properties via Shift+F4. But here there are no "Code" to select on left side. Please see here:

  • Community Member Profile Picture
    on at

    Sorry - just saw this is the LineAmount property...

  • Suggested answer
    Mohana Yadav Profile Picture
    61,202 Super User 2026 Season 1 on at

    You have to check in rdlc layout

  • mmv Profile Picture
    11,471 on at

    hi JesperJensen,

    You need to open the Report Layout by clicking on to the View -> Layout.

    Once you are in the Layout, you can get into the Report Properties.

    Best Regards,
    MMV

  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    Since you are displaying data in the RDLC, open the layout by using view -> layout and from there check report properties where different all VB functions are written, to use any one of those functions

    use just need refer like below

    =Code.BlankZero(Fields!LineAmount.Value) ... just an example

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans