Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
sanjyotpatkar
Creator III
Creator III

How to link the variable defined in an inputbox with the field name in the script?

Hi

I want to create an inputbox where the user can enter the resource id. Rest of the tables or graphs should get updated when I enter the Resource id in the inputbox.

I have created an inputbox with a variable name vResourceId.In the Contraints section in Value section I have tried to link it to Resource Id field from the script but this doesn't seem to work when I enter the resource id number in the inputbox. Can anybody please assist as to what is gone amiss I dont think the variable is getting linked with the inputbox values that are being entered?

Attaching the screenshot of the Constraints tab

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Don't use an input box with a variable. Use either a listbox object for that field or use a Search object and add only the Resource Id field to it. If you use a variable you needlessly complicate things and need to use a variable trigger and assign a Select in Field action to the trigger.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
ajsjoshua
Specialist
Specialist

Gysbert_Wassenaar

Don't use an input box with a variable. Use either a listbox object for that field or use a Search object and add only the Resource Id field to it. If you use a variable you needlessly complicate things and need to use a variable trigger and assign a Select in Field action to the trigger.


talk is cheap, supply exceeds demand

View solution in original post

sanjyotpatkar
Creator III
Creator III
Author

hi

Document  above shows if a particular value is selected in list box then it appear in the inputbox.. but i need the user to type in values in the inputbox and the table needs to be updated based on the values updated in the inputbox.

sanjyotpatkar
Creator III
Creator III
Author

Thanks Gysbert. This is a better option

jonathandienst

I would support the other replies. You do not need a variable for this purpose. A list box is the correct way and the selection will then be standard QV functionality. If the user clicks the list box, they can start typing the value to locate the one they need, This is quicker and simpler than using a variable.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein