<?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 How to prevent unlocking data table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-prevent-unlocking-data-table/m-p/392275#M64251</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am really new to JMP.&lt;/P&gt;&lt;P&gt;I created a script to import data from an Access DB through Query Builder.&lt;/P&gt;&lt;P&gt;I used the following to get a locked data table and it worked.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Lock Data Table( 1 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need users to open this locked table to review data but I noticed that it is possible to unlock data by clicking on the top-left red triangle (see screenshot attached) and selecting Unlock Data Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way to prevent users from unlocking an open data table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:31:30 GMT</pubDate>
    <dc:creator>FabioSaragoni</dc:creator>
    <dc:date>2023-06-10T23:31:30Z</dc:date>
    <item>
      <title>How to prevent unlocking data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-prevent-unlocking-data-table/m-p/392275#M64251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am really new to JMP.&lt;/P&gt;&lt;P&gt;I created a script to import data from an Access DB through Query Builder.&lt;/P&gt;&lt;P&gt;I used the following to get a locked data table and it worked.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Lock Data Table( 1 )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need users to open this locked table to review data but I noticed that it is possible to unlock data by clicking on the top-left red triangle (see screenshot attached) and selecting Unlock Data Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy way to prevent users from unlocking an open data table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:31:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-prevent-unlocking-data-table/m-p/392275#M64251</guid>
      <dc:creator>FabioSaragoni</dc:creator>
      <dc:date>2023-06-10T23:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent unlocking data table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-prevent-unlocking-data-table/m-p/392333#M64255</link>
      <description>&lt;P&gt;You may be able to use 'SetEditLock()' in the post-processing script that Query Builder allows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; Set Edit Lock( "Modify Cells", "Add Rows", "Delete Columns" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Jun 2021 14:05:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-prevent-unlocking-data-table/m-p/392333#M64255</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2021-06-10T14:05:35Z</dc:date>
    </item>
  </channel>
</rss>

