Subscribe Bookmark RSS Feed

how to obtain total number of columns in JSL?

alexchen

Community Member

Joined:

Apr 2, 2014

Hi,

I need a way to extract the total number of columns of specific table by scripting (for example: 5 columns total below). Can someone help me on this?

Thanks

5890_total column number.bmp

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

dt = current data table();

nc = ncols(dt);

1 REPLY
Solution

dt = current data table();

nc = ncols(dt);