Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Restoring Values of Inputfields

Hi,

I have a table I created with an input field column. I want to be able to restore all the input field values to their default value by pressing a button, but I can't find the correct macro code to use. I can manually do this by right clicking on one of the input field cells and then selecting Restore Values-->Restore All Values. FYI, the default numbers are based on values in another table, so I don't want to just set them all to 0....

Thanks,

Sarah

4 Replies

Re: Restoring Values of Inputfields

See this discussion: how to reset input field values using macro


talk is cheap, supply exceeds demand
Not applicable

Re: Restoring Values of Inputfields

Thanks! This did exactly what I wanted

Not applicable

Re: Restoring Values of Inputfields

Thanks! This did exactly what I wanted

Not applicable

Re: Restoring Values of Inputfields

So this worked, but can you explain what the below part of the answer does?

     dim x(1)

     x(0) = 0 ' element to reset


Community Browser