cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
] />

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