3 Replies Latest reply: Sep 11, 2012 9:19 AM by Wojciech Parzyszek RSS

    dinamically populate list box

      Hopfully very simple question:

       

      I have a table Metrics with 2 columns:

      ID, Value

      1, One

      2, Two

      3, Three

      ....

       

      And I have a variable "Flag" with two possible values: "Choice 1" and "Choice 2".

       

      How do I create a listbox that will be populated with values "One" and "Two" if variable "Flag" = 'Choice 1', and only value "Three" if variable "Flag"='Choice 2'?

       

      Thank you!