RowDocument.LangCode
Emanuele Croci
Hi,I have BP with language French.
I have a Text: T0000040
with value: "Data"
and translations:
French: "Date"
German: "Datum"
...
...
in the Layout Designer, in a TextBox I use the command:
GetData("LD.Txt.T0000040")
The layout language is set to: From Document
When I click on the print preview of the French BP I have an error message:
Parameter [%DocEntry] in Expression SELECT T0.LangCode FROM O@@RDR T0
WHERE T0.DocEntry = [%DocEntry] not found
And then in the print preview I see the "Data" string and not the "Date" one.
How can I visualise the text in the language of the BP?
Why the application gives me an error?
Bye
Emanuele
Philipp Knecht
Hi EmanueleThe FromDocument Query only works with documents.
Make your own Language Query eg: SELECT LangCode FROM OCRD WHERE CardCode ='[%CardCode]'
Save it in the group SWA_LD_Language and use that in the Printdefinition.
hth
Emanuele Croci
Great Philipp!It works now!
Thank you very much
Emanuele
0
Please sign in to leave a comment.
Comments
0 comments