<?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 to concatenate files and preserve formula columns in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208962#M41963</link>
    <description>&lt;P&gt;The main part of the JSL below, was obtained by running the Concatenate platform interactively to get what was desired, and then taking the JSL from the Source of the new table and pasting it into the script.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dtMain = Data Table( "MainFile" );
dtNew = Data Table( "NewFile" );
dtConcat = dtMain &amp;lt;&amp;lt; Concatenate( dtNew, Keep Formulas );

concatName = dtMain &amp;lt;&amp;lt; get name;

Close( dtMain, nosave );
Close( dtNew, nosave );

dtConcat &amp;lt;&amp;lt; set name( concatName );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 19 May 2019 16:02:25 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2019-05-19T16:02:25Z</dc:date>
    <item>
      <title>How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208952#M41962</link>
      <description>&lt;P&gt;I'd like to concatenate a main file withe a new file. The main file contains a formula column, the new file not. The resulting file should have the formula column with the formula from the main file.&lt;/P&gt;&lt;P&gt;Additional the new file should be renamed to the name of of main file and the the former main file and the new file should be closed and not saved.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-button "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="simple-translate-panel "&gt;&lt;DIV class="simple-translate-result-wrapper"&gt;&lt;P class="simple-translate-result"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-button isShow"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="simple-translate-panel "&gt;&lt;DIV class="simple-translate-result-wrapper"&gt;&lt;P class="simple-translate-result"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 May 2019 15:48:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208952#M41962</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2019-05-19T15:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208962#M41963</link>
      <description>&lt;P&gt;The main part of the JSL below, was obtained by running the Concatenate platform interactively to get what was desired, and then taking the JSL from the Source of the new table and pasting it into the script.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dtMain = Data Table( "MainFile" );
dtNew = Data Table( "NewFile" );
dtConcat = dtMain &amp;lt;&amp;lt; Concatenate( dtNew, Keep Formulas );

concatName = dtMain &amp;lt;&amp;lt; get name;

Close( dtMain, nosave );
Close( dtNew, nosave );

dtConcat &amp;lt;&amp;lt; set name( concatName );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 May 2019 16:02:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208962#M41963</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-05-19T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208969#M41966</link>
      <description>&lt;P&gt;Thanks txNelson for this useful post. I was just working on the exact same issue , and the "keep formulas" parameter solves my problem.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 01:48:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208969#M41966</guid>
      <dc:creator>JensRiege</dc:creator>
      <dc:date>2019-05-20T01:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208970#M41967</link>
      <description>&lt;P&gt;To avoid the creation of a new data table and having to deal with renaming you can use the &lt;EM&gt;Append to first table&lt;/EM&gt; option.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dtMain = Data Table( "MainFile" );
dtNew = Data Table( "NewFile" );
dtConcat = dtMain &amp;lt;&amp;lt; Concatenate( dtNew, Append to first table, Keep Formulas );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 03:20:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208970#M41967</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2019-05-20T03:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208975#M41970</link>
      <description>&lt;P&gt;Thanks Jim. That's what I was looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 07:58:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208975#M41970</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2019-05-20T07:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate files and preserve formula columns</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208976#M41971</link>
      <description>&lt;P&gt;Thanks Jeff. The append to ... command makes it even better.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 08:00:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-concatenate-files-and-preserve-formula-columns/m-p/208976#M41971</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2019-05-20T08:00:42Z</dc:date>
    </item>
  </channel>
</rss>

