0

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.

Robert

3 replies

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

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

    Steven

    • 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
    else
    myReturn := myReturn + ", " + record('PROVIDERS-RESEAUX-SOCIAUX',number(i)).SERVICE
    end
    end;
    myReturn

Content aside

  • 3 yrs agoLast active
  • 3Replies
  • 591Views