force text to next line layout

kabrocokabroco Member Posts: 111
edited 2013-05-23 in NAV Three Tier
Hello,

in classic we could use char 10 to force the tekst to go to a new line.
How can I do this in the expression of a field?
I want the following text to be shown like this:

Expression of the field =(First(Fields!AmountCaption.Value))& First(Fields!ValutaCode.Value)


Net Amount
EURO

Tried <BR> but this did not work, maybe because of wrong use?

Thanks.

Answers

  • vandangvandang Member Posts: 101
    Hi

    To break the line in RTC you use this code:

    "text1" & vbNewLine & "text2"
  • kabrocokabroco Member Posts: 111
    :D It works!

    Edit: Forgot Thanks!
  • clauslclausl Member Posts: 455
    "text1" & Chr(10) & "text2" also works fine.

    /Claus Lundstrøm
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sign In or Register to comment.