Hi, these answers were really helpfull. Now if I want to add a condition for value in another column, say I wanted to select name="KATIE" and "ROBERT", (or even better, containing "ATIE"), AND sex="F". Then I would have to combine the Or- condition with an and condition.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
For Each Row( Selected( Row State() ) = Or( contains(:name, "ATIE"), contains(:name, "OBER")) And (contains(:sex, "F")));
I already something like this, but was ot succesfull.
Regards
Poul
(PS Obviously I used Base SAS a lot. Now I try to implement selections on tables this way around. Thanks for the help.)