RDLC leader dots

CrunchCrunch Member Posts: 38
edited 2018-05-16 in NAV Three Tier
I'm trying to add leader dots to some captions in a 2017 RDLC report like the leader dots property in Classic reports.
I'm using the following in the textbox expression, but the "leader dots" gets pushed to the next line, and thus is not visible.
=Parameters!Item_Ledger_Entry_ManItemNoCaption.Value & StrDup(100,".")

If I only add a few dots, they are visible.
Any way to supress the line break?

Best Answer

  • CrunchCrunch Member Posts: 38
    edited 2018-05-17 Answer ✓
    Just some additional info. The caption is "Item No.".
    If I just use "Item", it works. "Item No. " doesn't work either.
    The space makes it break the line.

    Solution:
    Replace spaces with non breaking spaces.
    =Replace(Parameters!Item_Ledger_Entry_ManItemWeightCaption.Value," ",Chr(160)) & StrDup(100,".")
    

Answers

  • CrunchCrunch Member Posts: 38
    edited 2018-05-17 Answer ✓
    Just some additional info. The caption is "Item No.".
    If I just use "Item", it works. "Item No. " doesn't work either.
    The space makes it break the line.

    Solution:
    Replace spaces with non breaking spaces.
    =Replace(Parameters!Item_Ledger_Entry_ManItemWeightCaption.Value," ",Chr(160)) & StrDup(100,".")
    
Sign In or Register to comment.