<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How Do I get the number of Data Tables in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-Do-I-get-the-number-of-Data-Tables/m-p/39858#M23340</link>
    <description>&lt;P&gt;I think this piece of code should help you out&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;datatables = {};
For( i = 1, i &amp;lt;= N Table(), i++,
	Insert Into( datatables, Data Table( i ) &amp;lt;&amp;lt; get name )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Jun 2017 01:52:44 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-06-02T01:52:44Z</dc:date>
    <item>
      <title>How Do I get the number of Data Tables</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-get-the-number-of-Data-Tables/m-p/39854#M23336</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;so i have a script that gets a data table with data and a data table with its specs. when i manually run Process Capability i can choose the columns and use the spec table and everything works like intended.&lt;/P&gt;&lt;P&gt;the Problem:&lt;/P&gt;&lt;P&gt;I am trying to run this through a JSL script. the idea is to get a list of the currently open data tables, open a new window, have a dropdown with the list of data tables, and the user can choose the spec table they want to use. this script would run on the toolbar and the user will run it off the data table with the data they are interested.&lt;/P&gt;&lt;P&gt;I can use &lt;STRONG&gt;insertInto(dt,data table(i++))&lt;/STRONG&gt; to get a list of the data tables but breaks once i exceeds the number of tables. is thier a function like &lt;STRONG&gt;N Items(data tables)&lt;/STRONG&gt;?? or do i have to get the user to type in the table name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 22:09:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-get-the-number-of-Data-Tables/m-p/39854#M23336</guid>
      <dc:creator>jay_S</dc:creator>
      <dc:date>2017-06-01T22:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: How Do I get the number of Data Tables</title>
      <link>https://community.jmp.com/t5/Discussions/How-Do-I-get-the-number-of-Data-Tables/m-p/39858#M23340</link>
      <description>&lt;P&gt;I think this piece of code should help you out&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;datatables = {};
For( i = 1, i &amp;lt;= N Table(), i++,
	Insert Into( datatables, Data Table( i ) &amp;lt;&amp;lt; get name )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Jun 2017 01:52:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-Do-I-get-the-number-of-Data-Tables/m-p/39858#M23340</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-06-02T01:52:44Z</dc:date>
    </item>
  </channel>
</rss>

