cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Convert table to script and save it other table

I have 2 table. dt(data table) and lt(Limit table). I like to convert lt table to script and save that in to dt table scripts. How can I achive that. below is the script that I came up with. 

scriptObj = lt << Get Script;

Eval( Eval Expr(
	dt << New Script("Recreate Limit Data", Expr(scriptObj));
) );
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Convert table to script and save it other table

Names Default To Here(1);

dt1 = Open("$SAMPLE_DATA/Big Class.jmp");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");


s = dt1 << get script;
Eval(EvalExpr(
	dt2 << New Script("Big Class", Expr(NameExpr(s)))
));
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Convert table to script and save it other table

Names Default To Here(1);

dt1 = Open("$SAMPLE_DATA/Big Class.jmp");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");


s = dt1 << get script;
Eval(EvalExpr(
	dt2 << New Script("Big Class", Expr(NameExpr(s)))
));
-Jarmo

Re: Convert table to script and save it other table

Thanks you so much.

Recommended Articles