Change Multi Language used in a table

HenrikDKHenrikDK Member Posts: 14
Hey,

I have some code on the modify trigger, which checks various things on the line. The line also has a Error Text field, which is filled out with an error text that come from different Text Constants. These Text Constants is set up with ML, so the error text is writen in the language the user is using. The problem is, the 'user' is a web part which writes to the table through a page. Is it possible to setup a default language for the user or the table, so the language is Danish instead of the English used in the Caption? Maybe like it is possible with CurrReport.Language in reports?

/Henrik

Answers

  • HenrikDKHenrikDK Member Posts: 14
    Edit: Found a solution to a problem, but that was regarding a different problem. :)
  • HenrikDKHenrikDK Member Posts: 14
    Found a solution; used GLOBALLANGUAGE.
    IF WantedLanguage <> GLOBALLANGUAGE THEN
      GLOBALLANGUAGE(WantedLanguage );
    
Sign In or Register to comment.