G
GÃsli Snæbjörnsson
Hi.
I am trying to update the selected field value for a task using the
ProjectBeforeTaskChange event. I listen to a speciffic character '?' and if
that is entered in the field I display a list that the user should select an
item from. I am using the task.Text1 field but even if I set this value when
I return from the Eventhandler the '?' is still displaying in the field.
Any ideas on how to overwrite this value with the value selected from the
list? I have tried the following and it hasn't worked
tsk.Text1 = "123456";
tsk.SetField(PjField.pjTaskText1, "123456");
Application.ActiveCell.Task.SetField(PjField.pjTaskText2, "abcd");
None of this worked, am I perhaps missing an update call or something, like
UpdateTaskValues() ?
Thanks in advance
regards
GÃsli
I am trying to update the selected field value for a task using the
ProjectBeforeTaskChange event. I listen to a speciffic character '?' and if
that is entered in the field I display a list that the user should select an
item from. I am using the task.Text1 field but even if I set this value when
I return from the Eventhandler the '?' is still displaying in the field.
Any ideas on how to overwrite this value with the value selected from the
list? I have tried the following and it hasn't worked
tsk.Text1 = "123456";
tsk.SetField(PjField.pjTaskText1, "123456");
Application.ActiveCell.Task.SetField(PjField.pjTaskText2, "abcd");
None of this worked, am I perhaps missing an update call or something, like
UpdateTaskValues() ?
Thanks in advance
regards
GÃsli