Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to read the value of inputfield in macros.

Hello Everyone, I have created a INPUTFIELD variable and put that in the pivot table in the expression using INPUTSUM. Now i want to read the value of the changed inputfield in the macro. I am getting the error for object required.

But if i do the same thing with INPUTBOX variable it works fine and shows msgbox with variable value. see below below code

set a = ActiveDocument.getvariable("Variable1")

msgbox(a.getcontent.string)

Now if i try to display the value of inputfield in the same way as above it gives me object required: 'a' error.

It will great if anyone can help me out with this.

Regards.

0 Replies