Jordi.Tolra
21st November 2006, 12:53
Hola a tothom,

I would like to know if it is possible and how to get the language that is currently being used in the text editor.

I'm preparing a program that needs to check in which language is the user editing one text.

I could get the text number from the table Application Locks (ttadv998) but I couldn't find the language.

thanks in advance for you r help

adéu siau

NPRao
21st November 2006, 22:00
You can use the predefined variable -

string attr.textlang$(1) 4
Language for text editing. Used by the Text Manager.

Jordi.Tolra
22nd November 2006, 12:08
My problem is that I'm running one session which is independent form the text manager, I don't have access to the value of that variable. I tried with an import but it didn't work because there is no "comunication" between both processes (my session & the text manager)

george7a
22nd November 2006, 12:58
Hi,

Try to use get.var() function.
http://www.baanboard.com/programmers_manual_baanerp_help_functions_variables_interprocess_transfer_get_var

I hope it helps,

- George