get langage of current report navision

hello

how to check langage in current report , i have tried this

CurrReport.LANGUAGE = Language.GetLanguageID(‘DEU’))

but does not work ,

any hints

Thanks

The above function does not check or get the language of a current report. It’s used to SET the language.

But if what you’re trying to do is not to check the language, but to hard code the report to print in German, then for it to work then make sure that you have actually created the “DEU” language code in the language table and that it also has it’s Windows langauge no. set to 1031.

thanks for reply , i’d rather want to get the current lanagage of the report . i solved the issue with checking LOBALLANGUAGE !

LOBALLANGUAGE = Language.GetLanguageID(‘ENU’)