Dynamic single choice

Hi everyone,

i have little problem.

I use a dynamic single choice field, its a new. Very nice! But when i try to print this field it return me the index and note the text value.

it's crazy that I can't find the way to print the value and not the index.

Any idea or way for how to solve this behavior.


3 replies

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    You can use this : record(YourTable,number(ChoiceField)).FieldYouWantToDisplay


    • CISOFT_Sarl
    • 3 yrs ago
    • Reported - view

    Hi Steven, nice thank you its working good.

    And if i need use a multi choice dynamic for printing i have the same problem, and i dont  find again the way to grad the value text.

    • CISOFT_Sarl
    • 3 yrs ago
    • Reported - view

    ok i havve made with this code:

    let myChoice := split(text(numbers('RESEAU SOCIAL')), ",");
    let myReturn := "";
    for i in myChoice do
    if length(myReturn) = 0 then
    myReturn := record('PROVIDERS-RESEAUX-SOCIAUX',number(i)).SERVICE
    myReturn := myReturn + ", " + record('PROVIDERS-RESEAUX-SOCIAUX',number(i)).SERVICE

Content aside

  • 3 yrs agoLast active
  • 3Replies
  • 586Views