Hi All,

I can build variable

TEXT := '[PAGE_LNG_' + [LNG_ID] + ']: [PAGE#]';

and field

TEXT := '[BDS.PAGE_LNG_' + [LNG_ID] + ']: [PAGE#]';

names in this way.

LNG_ID is a report variable with a numeric value and the showed captions or used field names depends on it. I try to eliminate the if then else if then else if then else ... chains which give back the result depend on the language.

Is this the good/safe solution? Any simpler/better exists?

Gabor
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to