<?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 Delete &amp;quot;List Check&amp;quot; and &amp;quot;Range Check&amp;quot; properties from entire data table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669211#M85740</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to loop through all the columns in xml import data tables and remove the "List Check" and "Range Check" properties throughout. I've tried several different iteration of doing this and nothing is working for me. Here is an example of non-working code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();

//********************\\
colNames = dt &amp;lt;&amp;lt; get column names( string, character );

For( i = 1, i &amp;lt;= N Items( colNames ), i++,
	Column(dt, i) &amp;lt;&amp;lt; Delete Property("Range Check");
	Column(dt, i) &amp;lt;&amp;lt; Delete Property("List Check");
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This produces the following error message. Any help resolving this would be appreciated. Sample data provided. Thanks!&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="2023-08-18 11_51_46-JMP Alert.png" style="width: 415px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55852i0986705FCC6BDC67/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-18 11_51_46-JMP Alert.png" alt="2023-08-18 11_51_46-JMP Alert.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 16:06:09 GMT</pubDate>
    <dc:creator>lilysecret</dc:creator>
    <dc:date>2023-08-18T16:06:09Z</dc:date>
    <item>
      <title>Delete "List Check" and "Range Check" properties from entire data table</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669211#M85740</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to loop through all the columns in xml import data tables and remove the "List Check" and "Range Check" properties throughout. I've tried several different iteration of doing this and nothing is working for me. Here is an example of non-working code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();

//********************\\
colNames = dt &amp;lt;&amp;lt; get column names( string, character );

For( i = 1, i &amp;lt;= N Items( colNames ), i++,
	Column(dt, i) &amp;lt;&amp;lt; Delete Property("Range Check");
	Column(dt, i) &amp;lt;&amp;lt; Delete Property("List Check");
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This produces the following error message. Any help resolving this would be appreciated. Sample data provided. Thanks!&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="2023-08-18 11_51_46-JMP Alert.png" style="width: 415px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55852i0986705FCC6BDC67/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-18 11_51_46-JMP Alert.png" alt="2023-08-18 11_51_46-JMP Alert.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 16:06:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669211#M85740</guid>
      <dc:creator>lilysecret</dc:creator>
      <dc:date>2023-08-18T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Delete "List Check" and "Range Check" properties from entire data table</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669232#M85743</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = current data table();
// Open Data Table: big class.jmp
// → Data Table( "big class" )
//Open( "/C:/Program Files/SAS/JMPPRO/16/Samples/Data/big class.jmp" );
colNames = dt &amp;lt;&amp;lt; get column names( string );
For Each( {col, index}, colNames,
	Show( col );
	Try(
		As Column( col ) &amp;lt;&amp;lt; delete property( "List Check" ) &amp;lt;&amp;lt;
		delete property( "Range Check" )
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Aug 2023 16:42:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669232#M85743</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-08-18T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Delete "List Check" and "Range Check" properties from entire data table</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669291#M85746</link>
      <description>&lt;P&gt;Thanks very much, that is working!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 17:17:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-quot-List-Check-quot-and-quot-Range-Check-quot-properties/m-p/669291#M85746</guid>
      <dc:creator>lilysecret</dc:creator>
      <dc:date>2023-08-18T17:17:37Z</dc:date>
    </item>
  </channel>
</rss>

