I have an application which has 1 form, 1 field and 1 button on the form (button just do @Command([FileSave])).
on the WQO event I run agent:
Dim s As New notessession
Dim d As NotesDocument
Dim v As Variant
Set d = s.DocumentContext
'd.a = "as1111111" does not as well
v = Evaluate({@SetField("a"; "123")}, d)
and form opens with vallue 123 in field A, then I change that value to 123456 and then click on the button (savedocument).
and it does not save new value 123456, there still 123