Hi,
I am facing issue to write a code to select rows based on another summary data table each row of multiple column values. The summary data table is variable, change from time to time.
Below is JSL code. It does not work as required.
I need help here.
Example,
In summary data table,
row#1, Make = Acura, Model =Integra, Protection = manual belts, base on these values select rows in Data Table A.
row#2, Make = Audi, Model =80, Protection = manual belts, base on these values select rows in Data Table A.
:
: so on....until complete each of row of summary table
dt = Open("$TEMP/Cars.jmp");
dt1 = Open("$TEMP/Summary Cars.jmp");
For(i = 1, i <= N Rows(dt1), i++,
dt << Select Where (:Make == :Make[i]& :Model == :Model[i] & :Protection == :Protection[i])
);