I have a table variable A that is connected to some formulas in my data table.
dt = currentdatatable();
dt << Set Table Variable( "A", 1 );
I want to build an application using the Application Builder where I move a slider using the Slider Box and this updates my table variable A in the data table, i.e. if the slider is changed to 2, A is updated to 2 in the data table.
How could I connect those two? I know I can update a table variable using JSL:
dt << Set Table Variable( "A"), 2 );
Is there a way of combining the running of a short script that updates the table variable when dragging the slider? I tried putting in the script in the Move-> Edit scripts under the Properties Window of the slider box
dt = Current Data Table();
dt << Set Table Variable("A"), mySlider );
with Variable Name mySlider, but when running the Application, I get the error
when moving the slider, so I must be doing something wrong.
Any hints?