更新姓名栏你好
我有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"))
这是未经测试的代码,但应该可以工作