你好,
這是一個非常基本的問題,已經回答過很多次了,但我無法讓它發揮作用。
<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);