2 Replies Latest reply: Apr 6, 2008 2:36 PM by 843810 RSS

    Setting value for field

      Hello ,

      Given that i have a Field f and its value in String for example "8", how can i set its value ? IntegerValue() is an interface and it cant be instantiated to contain a certain value. So Far i know that i should do the following:

      ObjectReference refObject = (ObjectReference)field;
      refObject.setValue(field, arg1);

      arg1 should be the Value (if for example its an Integer then it should be IntegerValue), but how can i create that argument ?

      Any help will be greatly appreciated :D