Hi
My suggestion as below. Hope it can help you.
Clear Globals();
Clear Log();
dt = Current Data Table();
//chef = dt:NOM << get values;
Summarize( dt, chef = by( :NOM ) );
expr = Expr(
dt << Select Where( :NOM == selection )
);
New Window( "Nom",
cb = Combo Box(
chef,
selection = cb << GetSelected();
expr;
),
);
心若止水