hello,I have a problem like i am executing lotus script on button…
In this i am adding value from one field to other field after validation by using code…
item1.AppendToTextList(item.text)
from " item" i m taking value and appendind in “item1”
after clicking it gets appended but as soon as i click on save appended value gets vanish…its not getting save…
plz help me why its happening…
what should i do to save the values.
Subject: problem with uidoc
Hi hema, To keep the new item in the document, you must call the Save method after calling AppendItemValue.
Subject: RE: problem with uidoc
Ranjit, that’s not correct; I think maybe you read the question too quickly.
Subject: problem with uidoc
Hi Hema,This does seem strange however, I can start to think of places to look:
Do you have any code in the translation event, querysave, queryclose or modechange?
Do you have a SaveOptions field with “0” within it?
Is your uidoc field a Text field, Computed, Dialog List, Combobox?
If your field offers users options to pick a value, is your field multi-value field?
Do you have it set to allow values not in list?
The longer I think, the more ideas I get… maybe one of these will help… if not, let me know.

Subject: RE: problem with uidoc
What if you press the first button, then press F9? Does the new value go away then?
Tell about the field you are assigning. Is it a computed field? What are its formulas? The computed field value formula executes when you save. What value would it return? If it’s an editable field the translation formula executes. What value would this formula return?
Is there Querysave code on the form? What is it?
Subject: RE: problem with uidoc
Thanks 2 all for ur responses…but my prob got solve…actually prob was in field …as it was computed i had given default value as “” ,i changed it as @thisvalue…now its going well…thanks…
Subject: RE: problem with uidoc
Why waste time computing a field when you don’t want the formula to ever change its value? Use a Computed when Composed instead.