I have a multilingual database. currently I set a public code when a user logs on setting the language to be used on form Labels and report Labels.
I use the on load event in forms and on Current event for reports to set the labels caption eg
if gbllanguage = "English" them me.label1.caption = "English language"
if gbllanguage = "Deutsch" them me.label1.caption = "Deutsche Sprache"
etc
Now the database is rather big and more and more languages are to be added. It is quiete cumbersombe to update the VBA modules.
Does anyone have an idea how to set the label values in a table and when a form is opened the relevant labels will appear in the corresponding language/value.
Obviously I don't want it to slow down opening the forms etc as the program is rather big
I use the on load event in forms and on Current event for reports to set the labels caption eg
if gbllanguage = "English" them me.label1.caption = "English language"
if gbllanguage = "Deutsch" them me.label1.caption = "Deutsche Sprache"
etc
Now the database is rather big and more and more languages are to be added. It is quiete cumbersombe to update the VBA modules.
Does anyone have an idea how to set the label values in a table and when a form is opened the relevant labels will appear in the corresponding language/value.
Obviously I don't want it to slow down opening the forms etc as the program is rather big