cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
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~!!