更新姓名欄你好
我有2張桌子
1) 名稱列1和2的Pareto_table

2)第二個Date_table我在「 Rank 」列中具有相同的數字1和2

我的問題是,如何透過Pareto_table中的腳本 JSL 將列1 更新為值 2024-01-05 ,將列 2 更新為值 2024-03-13 ?
最後它看起來像這個表的例子

謝謝
自動化和腳本編寫視窗回覆:更新名稱列Names Default To Here( 1 );
dtPareto = Data Table( "Pareto_table" );
dtDate = Data Table( "Date_table" );
// It appears that your Date column is a character column,
// not a JMP Date column. Therefore the following will
// work
For Each Row(
Try(
Column( dtPareto, Char( dtDate:Rank ) ) << set name( dtDate:date )
)
);
// If the Date column is a JMP Date column the set name() message would
// have to be modified to the time format you want to use for the name
// something like
// << set name( format( dtDate:date, "m/d/y"))
這是未經測試的程式碼,但應該可以工作