<?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: Data table &amp;quot;save&amp;quot; grayed out, even after data added in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510480#M73778</link>
    <description>&lt;P&gt;Assuming the table is not locked...&lt;/P&gt;&lt;P&gt;I don't know if it will help but you could try upgrading to 16.2 which is the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try running this code to see if the first table has the save icon grayed out or not. It is not grayed out for me. May not help much but it's another data point as to what the problem may be.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Trial1.jmp" );
dt2 = Open( "$SAMPLE_DATA/Little.jmp" );
dt &amp;lt;&amp;lt; Update(
	With( Data Table( "Little" ) ),
	Match Columns( :popcorn = :popcorn, :batch = :batch, :oil amt = :oil )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or just put this code after the update command.&amp;nbsp; This marks the data table dt as changed even if a change has not occurred.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Set Dirty();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 16:21:30 GMT</pubDate>
    <dc:creator>mikedriscoll</dc:creator>
    <dc:date>2022-06-15T16:21:30Z</dc:date>
    <item>
      <title>Data table "save" grayed out, even after data added</title>
      <link>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510191#M73763</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a JMP data table (.jmp) saved on a shared drive. A JSL script opens this data table and allows the user to interactively add rows of data to it via popup dialogues. The popups allow the user to select additional data files (excel), and the JSL script appends the contents to the open data table programmatically (via&lt;/P&gt;&lt;P class=""&gt;dt &amp;lt;&amp;lt; &lt;SPAN class=""&gt;Update&lt;/SPAN&gt;(...).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the rows are added, the user is expected to manually re-save the modified data table to the shared drive. However, the Save icon / menu item is often grayed out (even though rows of data have been added to the open data table). I'm not sure how to troubleshoot this -- can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume there is a trigger in the JMP UI that detects when an open data table has been modified, and un-grays the Save icon. I am able to un-gray the icon by manually modifying one of the fields in the open data table, but am unable to do so programmatically. I can post a simplified code example if that's helpful, but it will basically be several Open()s followed by multiple Update()s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am opening the data table with Open&lt;/SPAN&gt;&lt;SPAN&gt;(path). I tried using Open(path, Force Refresh), but this didn't change the behavior. I'm on&amp;nbsp;&lt;/SPAN&gt;JMP 16.1.0/Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:49:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510191#M73763</guid>
      <dc:creator>andykpdf</dc:creator>
      <dc:date>2023-06-10T23:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data table "save" grayed out, even after data added</title>
      <link>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510452#M73770</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/21544"&gt;@andykpdf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the file locked? If so, you cannot save the locked file. It might be locked for a number of reasons, but on a shared drive, it might mean that the file is open by someone else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scott_allen_0-1655295766094.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43277i3D1CE779EF92F998/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scott_allen_0-1655295766094.png" alt="scott_allen_0-1655295766094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a thread on some troubleshooting:&amp;nbsp;&lt;LI-MESSAGE title="Check if table is read-only?" uid="107669" url="https://community.jmp.com/t5/Discussions/Check-if-table-is-read-only/m-p/107669#U107669" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Scott&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 17:58:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510452#M73770</guid>
      <dc:creator>scott_allen</dc:creator>
      <dc:date>2022-06-15T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data table "save" grayed out, even after data added</title>
      <link>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510480#M73778</link>
      <description>&lt;P&gt;Assuming the table is not locked...&lt;/P&gt;&lt;P&gt;I don't know if it will help but you could try upgrading to 16.2 which is the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try running this code to see if the first table has the save icon grayed out or not. It is not grayed out for me. May not help much but it's another data point as to what the problem may be.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Trial1.jmp" );
dt2 = Open( "$SAMPLE_DATA/Little.jmp" );
dt &amp;lt;&amp;lt; Update(
	With( Data Table( "Little" ) ),
	Match Columns( :popcorn = :popcorn, :batch = :batch, :oil amt = :oil )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or just put this code after the update command.&amp;nbsp; This marks the data table dt as changed even if a change has not occurred.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Set Dirty();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 16:21:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510480#M73778</guid>
      <dc:creator>mikedriscoll</dc:creator>
      <dc:date>2022-06-15T16:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data table "save" grayed out, even after data added</title>
      <link>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510497#M73787</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/949"&gt;@mikedriscoll&lt;/a&gt;, the dt &amp;lt;&amp;lt; Set Dirty(); solution works!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 18:14:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-table-quot-save-quot-grayed-out-even-after-data-added/m-p/510497#M73787</guid>
      <dc:creator>andykpdf</dc:creator>
      <dc:date>2022-06-15T18:14:35Z</dc:date>
    </item>
  </channel>
</rss>

