When i run this script, and i set the emtpy field ...
# suitescript
c
When i run this script, and i set the emtpy field value it works without a problem. But if the script is ran again, when the setText is executed it just appends the program number to the already existing program number in the field. Why does this happen? I dont want the new string to be appended to the other string, i want the field refreshed, so that it only has the newly appended string set.
b
probably something else is going on, your code doesnt set any text since it is using CurrentRecord.setText with the wrong parameter
c
Alright thanks!