fiogf49gjkf0d The reason is because that field is not databound (the Text property has nothing in it). This means that it is not SLX populating this field, but code behind (mainly, because the ID is stored and you want to see text so it translates that via code). If you find the object txtUrgencyCode (which is the databound version) and set RecordChanges on that then, when changed, it will record. However, I suspect it will record the code instead, which isn't useful to you or the users).
What I would do is set a global at the top of the script gUrgency. On the popup of Urgency then set the current value of popUrgency.Text into gUrgency (this just stores it for later). onPopupReturn - compare this with the current value of gUrgency. If they are different then a change was made. Populate the tickethistory directly if this is the case, then set gUrgency to the current value (for next time). You will have the oldvalue (in gUrgency) and the newvalue in popUrgency.text. |