Options

Report 206, labels -> parameters, with captions.

kenneth73kenneth73 Member Posts: 59
edited 2014-09-11 in NAV Three Tier
Hi

I try to use labels in Nav, with captions.
But I can't get it to use the language i sales header.

Can someone help - thanks

Regards
Kenneth Jessen

Comments

  • Options
    TonyDuarteTonyDuarte Member Posts: 92
    If not mistaken and correct me if I'm wrong, labels will only pass the first language the report is set to run with, for multiple language it's best to make text constants and pass them in your dataset.
  • Options
    nhsejthnhsejth Member, Microsoft Employee Posts: 34
    Labels are passed as report parameters and will only have the first language in the current run. You can get localized captions if you add a new field in the dataset and use a source expression that evaluates the FIELDCAPTION on the source table field. Then you wil have the captions from the source table field in the dataset and you will get the correct localization.

    SourceTable.FIELDCAPTION(FIELDNAME)
    _________________
    Niels-Henrik Sejthen
    Senior Software Developer
    Microsoft Dynamics NAV

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • Options
    clauslclausl Member Posts: 455
    Kenneth, both Labels and IncludeCaption are only sent once as parameters, so never use these for any reports that need to support multi language.

    /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.