Domino 9 und frühere Versionen > ND6: Entwicklung

Feld mit Roles

<< < (2/3) > >>

judicious:
hmmm, das klappt auch nicht wirklich, die Box bleibt einfach weiss. Mache ich mit dem Code unten was falsch?

REM {This source defines the Business Unit from the Userroles};
value := "";

value1 := @If (@Contains(@UserRoles;"[BUA]");"A"; "");
value2 := @If (@Contains(@UserRoles;"[BUD]"); value1 + " D"; value1);

@If(@IsNewDoc; @Trim(@Explode(value; " ")); tmp_txBusinessUnit)

koehlerbv:
Es passiert doch genau das, was Du angeordnet hast:
value := "";
...
@If(@IsNewDoc; @Trim(@Explode(value; " ")); tmp_txBusinessUnit)

value ist leer ...

Bernhard

judicious:
?? verstehe ich nicht und wie bringe ich jetzt die werte von oben in die listbox?

koehlerbv:
Wenn Du das nicht verstehst, haben wir ein grosses Problem, Dir zu helfen.

judicious:
Also ich habe es jetzt so:
REM {This source defines the Business Unit from the Userroles};
value := "";
@If(
                  @If (@Contains(@UserRoles;"[BUA]");"A"; "");
                  @If (@Contains(@UserRoles;"[BUD]"); value + " D"; value);
      );

@If(@IsNewDoc; @Trim(@Explode(value; " ")); tmp_txBusinessUnit)

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln