Syntax for Choose
Hello,
I'am using FastReport 4.12 for Embarcadero RAD Studion Enterprise. So far it works fine. But now I try to get the following expression to work:
[Choose(<ADTable1."BesGruppe">,'A9 / EG9','A10 / EG10','A11 / EG11','A12 / EG12','A13 / EG13','A14 / EG14','A15 / EG15','A16 / EG16')]
The error that occurs is: Undeclared identifier: 'Choose'
Is it not possible to use the Choose-statement in expressions of this FastReport-version? A single IIF-Statement like [IIF(<ADTable1."BesGruppe">=0,'A9 / EG9','')] works, but how do I cascade several IIF-Statements?
Thanks for any help.
Bernard
I'am using FastReport 4.12 for Embarcadero RAD Studion Enterprise. So far it works fine. But now I try to get the following expression to work:
[Choose(<ADTable1."BesGruppe">,'A9 / EG9','A10 / EG10','A11 / EG11','A12 / EG12','A13 / EG13','A14 / EG14','A15 / EG15','A16 / EG16')]
The error that occurs is: Undeclared identifier: 'Choose'
Is it not possible to use the Choose-statement in expressions of this FastReport-version? A single IIF-Statement like [IIF(<ADTable1."BesGruppe">=0,'A9 / EG9','')] works, but how do I cascade several IIF-Statements?
Thanks for any help.
Bernard
Comments
[IIF(<ADTable1."BesGruppe">=0,'A9 / EG9',IIF(<ADTable1."BesGruppe">=1,'A10 / EG10',''))]