BookmarkSubscribe
Choose Language Hide Translation Bar
seyeollim
Community Trekker

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
Highlighted
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
Highlighted
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

seyeollim
Community Trekker

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~!!

0 Kudos