안녕,
이것은 여러 번 답변된 매우 기본적인 질문이지만 작동하도록 할 수 없습니다.
<BR />//Define the column name here first
Col = "mycolumn.xyz";
dt = current data table ();
//Create new table dt2, copy first table dt, sort it by two different columns
dt2 = Data Table( dt ) << Sort(
By( :WAFER, Column(dt, Col) ),
Order( Ascending, Ascending )
);
ColValues = {};
ColValues = Column(dt2, Col) << Get Values;
//And this is where it fails.
//Not working:
dt2 << select where (Column(dt2, Col) < 1);
dt2 << delete rows;
//This here is working:
dt2 << select where (:mycolumn.xyz < 1);
dt2 << delete rows;Eval(Substitute(Expr(),Expr(),Parse()))의 다른 방법을 시도했지만 결과가 없었습니다.
당신의 도움을 주셔서 감사합니다
열 앞에 AS라는 단어를 추가합니다.
dt2 << select where (as Column(dt2, Col) < 1);