Hi,
I have a data table which is updated (in the original script via query) e.g. every 5s and will be appened to another table. So far so good. How can I get it that the selction will not be cleared after each iteration?
Names Default To Here(0);
dt0 = New table ("Test",
New Column( "name", Character,"Nominal"),
New Column( "age", numeric, continuous),
New Column("sex", Character,"Nominal"),
New Column("height", numeric, continuous),
New column("weight", numeric, continuous,));
df = dt0 << Data Filter(
Add Filter( Columns( :sex ) )
);
n=0;
e=10;
startwork = Function( {},
dt1=Open( "$sample_data/big class.jmp");
dt0 << Concatenate( current data table(), "Append to First Table");
n+=1;
Close (dt1, nosave);
if(n<e, Schedule(5, startwork() ); ,Schedule( 0, 0)););
startwork();
dt0 << Graph Builder(
Size( 534, 464 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
);It would be great if my selction will be valid for the data table and graph after every iteration until the section will be changed by the user.
Many thanks!