Subscribe Bookmark RSS Feed

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

seyeollim

Community Trekker

Joined:

Dec 27, 2015

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
Solution

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
2 REPLIES
Solution

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

Community Trekker

Joined:

Dec 27, 2015

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