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

3replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • You can use this : record(YourTable,number(ChoiceField)).FieldYouWantToDisplay

    Steven

    Like
  • 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.

    Like
  • 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

    Like
Like Follow
  • 1 yr agoLast active
  • 3Replies
  • 561Views