Hi,
thanks for both solutions, it works fine.
At moment the if clauses makes headache.
My Idea:
If the selected item (in List Box) == "Baseline" do not invert the selected rows on table but delete.
Otherwise invert and delete.
//!
clear log();
clear globals();
dt= Open( Pick File(" "));
New Window( " ", <<Modal,
V List Box(
Text Box("Select ..."),
mon = List Box(:Stage << get values),
Button Box( "OK", cho = mon << get selected),
)
);
dt << Select Where(Contains(cho, :Stage));
if (
cho == "Baseline", dt << delete rows,
);
dt << invert row selection;
dt << delete rows;
Control Chart Builder(
Show Control Panel( 0 ),
Variables( Y( :Assay ) ),
Chart(
Position( 1 ),
Warnings( Test 1( 1 ), Test 2( 1 ), Test 3( 1 ), Test 5( 1 ), Test 6( 1 ) )
),
Chart( Position( 2 ) ),
SendToReport(
Dispatch( {}, "Control Chart Builder" , FrameBox, {Marker Size( 2 )} ),
Dispatch( {}, "Control Chart Builder" , FrameBox( 2 ), {Marker Size( 2 )} )
)
);
Whats wrong?
Regards,
Uwe