<?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: JSL Script - How to extract a table cell value and save to variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/45127#M25796</link>
    <description>&lt;P&gt;As stated above:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey, the syntax I use to get a value out of a table is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rowNum = 1;
col = Column( Current Data Table(), columnName);
tableVal = col[ rowNum ];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 13:52:01 GMT</pubDate>
    <dc:creator>Duane_Hayes</dc:creator>
    <dc:date>2017-09-26T13:52:01Z</dc:date>
    <item>
      <title>JSL Script - How to extract a table cell value and save to variable</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/604#M604</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a script that opens up several temporary data tables (csv files) and then saves my analysis to a journal window. I would like to save the journal to an HTML file, but I need to save the filename with a value from one of the data tables. I'm not sure how to save a table value to a variable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;NewWindow("PartJournal",&amp;lt;PartData = Open ("C:\...path...\filename.csv");
row()=1;
filename=Column("Customer");
... other tables opened and results saved to journal ...
filepath = "C:\...path...\" || filename || ".html";
Current Journal() &amp;lt;&amp;lt; Save HTML(char(filepath));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 08:29:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/604#M604</guid>
      <dc:creator>trisampson</dc:creator>
      <dc:date>2017-08-31T08:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Script - How to extract a table cell value and save to variable</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/605#M605</link>
      <description>&lt;P&gt;Hey, the syntax I use to get a value out of a table is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rowNum = 1;
col = Column( Current Data Table(), columnName);
tableVal = col[ rowNum ];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 12:08:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/605#M605</guid>
      <dc:creator />
      <dc:date>2017-08-24T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Script - How to extract a table cell value and save to variable</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/45127#M25796</link>
      <description>&lt;P&gt;As stated above:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hey, the syntax I use to get a value out of a table is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rowNum = 1;
col = Column( Current Data Table(), columnName);
tableVal = col[ rowNum ];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:52:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Script-How-to-extract-a-table-cell-value-and-save-to/m-p/45127#M25796</guid>
      <dc:creator>Duane_Hayes</dc:creator>
      <dc:date>2017-09-26T13:52:01Z</dc:date>
    </item>
  </channel>
</rss>

