Saturday, 16 January 2010

NAV - Change language at runtime

In my last post. I showed how you can change the system language at runtime. You might want to do this when a you want to print 1 single report in a different language.
NAV has the same ability too.
GLOBALLANGUAGE := 3081; // To set it to Australia
To find the language ID. Go to Tools -> Language. Then use Zoom (Ctrl+F8) on this form.

Warning: Set the language back when the report is finished.


androjdaz said...

I think we have CurrReport.LANGUAGE for temporarily switching language during report run.

BINUM said...

Thanks for that. I did not notice that before.