Rickman
26th June 2007, 18:20
Does somebody know where the name of the months and days are stored in the different languages?

I would like to print the name of the months (i.e. march) in different languages by using the command sprintf$, but only one langauge is printed.
I guess that only that language is used by BaaN. If I alter the user language, still BaaN prints 1 language.

Could somebody help me out with this?

en@frrom
27th June 2007, 13:47
Hi Rickman,

Check this post (http://www.baanboard.com/baanboard/showthread.php?t=25035&highlight=month). Hope this helps you. if you find the domains, it shall be the easiest way to achieve what you need...

Regards,
Eli Nager

Rickman
29th June 2007, 11:07
Hi Rickman,

Check this post (http://www.baanboard.com/baanboard/showthread.php?t=25035&highlight=month). Hope this helps you. if you find the domains, it shall be the easiest way to achieve what you need...

Regards,
Eli Nager

Many thanks en@frrom,

I've declared the domain ttaad.monm and selected the system language through tcmcs046.

With the command month.desc = enum.descr$("ttaad.monm", month.enum, lang) it works just great.

Regards,
Jan

en@frrom
29th June 2007, 15:29
glad i could help...