- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Making exact clone of a column
HI JMP users,
am looking for your help to make identical clone of a column through JMP scipt.
I don't want to select the "Date" column to make a identical column instead script should be able to recognize "Date" column and make a clone column.
Regards
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Making exact clone of a column
This should create a new column with a different name. Modify this example as necessary for your purpose.
Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
expr = :weight << Get Script;
Eval(
Parse(
Substitute(
"dt << " || Char( Name Expr( expr ) ),
"weight",
"weight 2"
)
)
);
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Making exact clone of a column
By "exact" clone do you mean to copy all formatting, column properties and values?
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Making exact clone of a column
This should create a new column with a different name. Modify this example as necessary for your purpose.
Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
expr = :weight << Get Script;
Eval(
Parse(
Substitute(
"dt << " || Char( Name Expr( expr ) ),
"weight",
"weight 2"
)
)
);