cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
seyeollim
Level I

How to check if there exists any data table in the window list?

I want to open a new invisible data table.  Is there simple way to check if the data table is loaded?

Usually I check the existence of any data table as below,  but it does not seem to work with the invisible data table.

if(window("")=={}, TableExist =0 ,);

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to check if there exists any data table in the window list?

Assuming you know the name of the data table, or you know the variable handle that points to the table of interest, what I do is:

If(try(dt<<get name,"")=="", TableExist=0);

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How to check if there exists any data table in the window list?

Assuming you know the name of the data table, or you know the variable handle that points to the table of interest, what I do is:

If(try(dt<<get name,"")=="", TableExist=0);

Jim
seyeollim
Level I

Re: How to check if there exists any data table in the window list?

Yeah~!!
That's what I really want.   It's great.  Thanks~!!