cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Problem with On Close() statement in New Window

I have a script that takes in a table, produces two summary tables dtMean and dtStdDev, and then draws some tabulates and opens then in a new window like so:

vlb = V List Box(
dtMean << Tabulate(
...),
dtStdDev << Tabulate (
...)
);
closeTables = Expr(
	Close( dtMean, NoSave );
	Close( dtStdDev, NoSave );
	
);

nw = New Window( "Tool to tool matching",
	Show Menu( 0 ),
	Show Toolbars( 0 ),  On Close(closeTables), vlb
);

this On Close statement causes error:

Name Unresolved: On Close in access or evaluation of 'On Close' , On Close( closeTables ) /*###*/

[OK]

 

But if I run closeTable separately - tables close.

Why and how to fix?

1 REPLY 1
miguello
Level VII

Re: Problem with On Close() statement in New Window

Nevermind, it needs to be

<< On Close()

not 

On Close()

 

 

 

Recommended Articles