Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Anonymous
Not applicable
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.

Anonymous
Not applicable
Author

Thanks Gysbert. This is a better option

jonathandienst
Partner - Champion III
Partner - Champion III

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