<?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 Refresh a JMP data table that had been previously populated with data imported from a .csv file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/384501#M63488</link>
    <description>&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help with refreshing of a JMP data table that was previously populated using the &lt;EM&gt;&lt;STRONG&gt;File -&amp;gt; Open -&amp;gt; Text File&lt;/STRONG&gt;&lt;/EM&gt; import option, in this case a &lt;EM&gt;.csv&lt;/EM&gt; file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first time, the data got imported with no issues, I then added a couple of column formulas at the end and done some graphs using the Graph Builder, which I saved the script to the data table and the file as normal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following day, as I know the &lt;EM&gt;.csv&lt;/EM&gt; file got populated with more data, I went back to the JMP data table and re-ran the 'source' script to update it. It turns out that it creates a new JMP data table, with the newest data, but the original column formulas and scripts for the graphs are not available anymore?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the MFI method too, even though it's just importing the same file every time, but I get the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to simply refresh the original data table, and keep everything else as it was, like we can do via the database query script 'Update from Database' ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasco&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:30:07 GMT</pubDate>
    <dc:creator>VCO</dc:creator>
    <dc:date>2023-06-10T23:30:07Z</dc:date>
    <item>
      <title>Refresh a JMP data table that had been previously populated with data imported from a .csv file</title>
      <link>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/384501#M63488</link>
      <description>&lt;P&gt;Hello JMP community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help with refreshing of a JMP data table that was previously populated using the &lt;EM&gt;&lt;STRONG&gt;File -&amp;gt; Open -&amp;gt; Text File&lt;/STRONG&gt;&lt;/EM&gt; import option, in this case a &lt;EM&gt;.csv&lt;/EM&gt; file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first time, the data got imported with no issues, I then added a couple of column formulas at the end and done some graphs using the Graph Builder, which I saved the script to the data table and the file as normal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following day, as I know the &lt;EM&gt;.csv&lt;/EM&gt; file got populated with more data, I went back to the JMP data table and re-ran the 'source' script to update it. It turns out that it creates a new JMP data table, with the newest data, but the original column formulas and scripts for the graphs are not available anymore?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the MFI method too, even though it's just importing the same file every time, but I get the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to simply refresh the original data table, and keep everything else as it was, like we can do via the database query script 'Update from Database' ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasco&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:30:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/384501#M63488</guid>
      <dc:creator>VCO</dc:creator>
      <dc:date>2023-06-10T23:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a JMP data table that had been previously populated with data imported from a .csv file</title>
      <link>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/384592#M63497</link>
      <description>&lt;P&gt;Hi, see if this works for you: allow JMP to build the new table, but then copy its contents into the original table.&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Brady&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dta = datatable("a");					//the original table with all of the goodies

														//get the new table by whatever means
dtb = datatable("b");			 		//the update table

dta &amp;lt;&amp;lt; add rows(nrow(dtb) - nrow(dta));
dta[0,0] = dtb[0,0];

close(dtb, nosave);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 16:23:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/384592#M63497</guid>
      <dc:creator>brady_brady</dc:creator>
      <dc:date>2021-05-12T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a JMP data table that had been previously populated with data imported from a .csv file</title>
      <link>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/394461#M64481</link>
      <description>&lt;P&gt;Hi Brady,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply and apologies for the late feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up finding that using the 'JMP Query Builder' under the menu 'Tables' does the job. It also has the additional benefit of using a similar UI as the 'Database Query Builder', which is also handy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vasco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 13:24:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Refresh-a-JMP-data-table-that-had-been-previously-populated-with/m-p/394461#M64481</guid>
      <dc:creator>VCO</dc:creator>
      <dc:date>2021-06-18T13:24:25Z</dc:date>
    </item>
  </channel>
</rss>

