Discussion Board for collaboration on QlikView Scripting.
Just wonder if some of you had this issue with input fields, and if yes, did you manage to find a solution?
Load A from test.qvd
Then on the server say you change one row of the inputfield A from 1 to 10.
Thats fine and works fine. However when you load again the script, the field that you just made changes doesn't go back to the original value (which it was indeed what would I Expect.
Go to Solution.
reset Input field with a macro.
go to Document-->Trigger-->On post reload
Add action --> run macro code
x(0) = 0
set fld = ActiveDocument.Fields("A")
fld.ResetInputFieldValues 0, x
here A is your inputfieldname.
That's correct. Inputfield values persist over reloads. As far as I know the only way to reset them is with a macro, but that most likely doesn't work in the ajax client.
Can you explain how can I reset it with a macro?
I think i found another way to solve the issue.
Just trying at the moment.
If this macro code helps you and solved your problem, then mark it as correct or helpful, and close this thread.