2 Replies Latest reply on Jul 17, 2007 2:05 AM by neeks

    How can i add two values under the same property?

    wgb14 Level 1
      Hi all,

      How can i add two values under the same property name in a prop list? For example:

      [question1: "item1","item2", question2: "item3","item4"]

      To be more precise, i am creating a property list and I want whenever a two values have the same property name to be added int he list under the same property. For example:

      gMyList.AddProp (#""&question&"" & x, member("input").text)

      question is a variable that is updated fromt he user's input. Now, whenever somethign like this happens:

      question = "question1"
      member("input").text = "five"

      question = "question1"
      member("input").text = "six"

      I want to output list to be:

      [question1: "five","six"] and so on

      Any ideas?