how to put more than one field in a swith condition
Posted: Fri Jan 26, 2024 10:23 am
Hello, I am despairing...
I hope someone can give me a tip.
I have different fields that I retrieve that produce a number without any blank lines in between. I would like to display this number in a switch selection
The error must be in the syntax somehow, but I can't figure it out
{Objekt.OBJEKT_INTNR}{Format("{0:yy}", Vorgang.VORGANG_VON)}{Month(Vorgang.VORGANG_VON)+80} + Schlüsselsymbol
shows "112392 + Schlüsselsymbol"
if i Copy this into the switch...
{Switch(
Objekt.OBJEKT_INTNR == "11", {Objekt.OBJEKT_INTNR}{Format("{0:yy}", Vorgang.VORGANG_VON)}{Month(Vorgang.VORGANG_VON)+80} + Schlüsselsymbol,
Objekt.OBJEKT_INTNR == "5","xxxxx")}
the is an error "}" expect.
I've tried everything with and without brackets etc
Thanks a lot from Germany
Fabian
I hope someone can give me a tip.
I have different fields that I retrieve that produce a number without any blank lines in between. I would like to display this number in a switch selection
The error must be in the syntax somehow, but I can't figure it out
{Objekt.OBJEKT_INTNR}{Format("{0:yy}", Vorgang.VORGANG_VON)}{Month(Vorgang.VORGANG_VON)+80} + Schlüsselsymbol
shows "112392 + Schlüsselsymbol"
if i Copy this into the switch...
{Switch(
Objekt.OBJEKT_INTNR == "11", {Objekt.OBJEKT_INTNR}{Format("{0:yy}", Vorgang.VORGANG_VON)}{Month(Vorgang.VORGANG_VON)+80} + Schlüsselsymbol,
Objekt.OBJEKT_INTNR == "5","xxxxx")}
the is an error "}" expect.
I've tried everything with and without brackets etc
Thanks a lot from Germany
Fabian