Jan van Bekkum
Registered User.
- Local time
- Today, 04:18
- Joined
- Feb 25, 2010
- Messages
- 23
I want to make headers of columns in a report dependent of the language of the report. I have a control "AmountHeader". Dependent on the language it has to become "Amount" or "Bedrag". I created a table Translations with a.o. fields "AmountHeader" and "TranslationLanguage". The control [Language] is in the active form.
I have used all kind of variations of the string below in the Control Source of "AmountHeader", but I keep getting error messages or the wrong language.
=DLookUp("[AmountHeader]","Translations","[TranslationLanguage] =" & Forms![ProposalContentExternal]!Language)
The only one that worked correctly was:
=DLookup("AmountHeader", Translations","TranslationLanguage='Dutch'")
Has anyone a clue?
I have used all kind of variations of the string below in the Control Source of "AmountHeader", but I keep getting error messages or the wrong language.
=DLookUp("[AmountHeader]","Translations","[TranslationLanguage] =" & Forms![ProposalContentExternal]!Language)
The only one that worked correctly was:
=DLookup("AmountHeader", Translations","TranslationLanguage='Dutch'")
Has anyone a clue?