Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I have a column of inputfields in a grid, and even after a reload, the values i modified are still present. I would like to create a button that will set all the values of that inputsum(field) to 0. Anyone have any insight on how this can be done?
Maybe this is helpful:
sub ClearInputFields
dim fld1
set fld1 = ActiveDocument.Fields("YourInputField")
fld1.ResetInputFieldValues 0
end sub
Further possibilities you could find in APIGuide.qvw in your install-folder.
- Marcus
Hi
You can do this with the help of Macro.
Check this out:
Re: InputSUM will change after reload?
Regards
Aviral Nag
Maybe this is helpful:
sub ClearInputFields
dim fld1
set fld1 = ActiveDocument.Fields("YourInputField")
fld1.ResetInputFieldValues 0
end sub
Further possibilities you could find in APIGuide.qvw in your install-folder.
- Marcus
Hi,
use this macro
sub ResetField()
Set oField = ActiveDocument.Fields("FieldName")
oField.ResetInputFieldValues 0
-Sathish
Many thanks guys! Works perfectly!
May I know how do I achieve this in qlik Sense ? Thanks