<?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 use Set Property() to make a custerm order for a column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-Set-Property-to-make-a-custerm-order-for-a-column/m-p/737557#M91872</link>
    <description>&lt;P&gt;Hi, Dears,&lt;/P&gt;&lt;P&gt;I have a Demo.jmp which includes 3 columns:&lt;/P&gt;&lt;P&gt;Column Name, Data Type&lt;/P&gt;&lt;P&gt;T, Character&lt;/P&gt;&lt;P&gt;Value,Numeric&lt;/P&gt;&lt;P&gt;SN,Characer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to make a custerm order on column "T" as "LT","RT","HT" ascending with the script below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//dt = Open("Demo.jmp"); 
//please open Demo.jmp manually
dt = Current Data Table();
dt &amp;lt;&amp;lt; Recode Column( :T, Update Properties( 1 ), Target Column( :T ));
:T &amp;lt;&amp;lt;Set Property( "Value Order",{"LT", "RT", "HT"});&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error info, and I need your suggestion, thanks.&lt;/P&gt;&lt;P&gt;Name Unresolved: Update Properties in access or evaluation of 'Update Properties' , Update Properties( 1 ) /*###*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2024 07:34:25 GMT</pubDate>
    <dc:creator>AutoDormouse960</dc:creator>
    <dc:date>2024-03-22T07:34:25Z</dc:date>
    <item>
      <title>How to use Set Property() to make a custerm order for a column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Set-Property-to-make-a-custerm-order-for-a-column/m-p/737557#M91872</link>
      <description>&lt;P&gt;Hi, Dears,&lt;/P&gt;&lt;P&gt;I have a Demo.jmp which includes 3 columns:&lt;/P&gt;&lt;P&gt;Column Name, Data Type&lt;/P&gt;&lt;P&gt;T, Character&lt;/P&gt;&lt;P&gt;Value,Numeric&lt;/P&gt;&lt;P&gt;SN,Characer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to make a custerm order on column "T" as "LT","RT","HT" ascending with the script below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//dt = Open("Demo.jmp"); 
//please open Demo.jmp manually
dt = Current Data Table();
dt &amp;lt;&amp;lt; Recode Column( :T, Update Properties( 1 ), Target Column( :T ));
:T &amp;lt;&amp;lt;Set Property( "Value Order",{"LT", "RT", "HT"});&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error info, and I need your suggestion, thanks.&lt;/P&gt;&lt;P&gt;Name Unresolved: Update Properties in access or evaluation of 'Update Properties' , Update Properties( 1 ) /*###*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 07:34:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Set-Property-to-make-a-custerm-order-for-a-column/m-p/737557#M91872</guid>
      <dc:creator>AutoDormouse960</dc:creator>
      <dc:date>2024-03-22T07:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Property() to make a custerm order for a column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-Set-Property-to-make-a-custerm-order-for-a-column/m-p/737571#M91874</link>
      <description>&lt;P&gt;Do it interactively in JMP and get the script from enhanced log OR&amp;nbsp; by using Copy Column Properties&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711093143788.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62506i51C42F793A6D3728/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1711093143788.png" alt="jthi_0-1711093143788.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1711093156396.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62507iA173F0A6258539B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_1-1711093156396.png" alt="jthi_1-1711093156396.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table("Demo"):T &amp;lt;&amp;lt; Set Property(
	"Value Order",
	{Custom Order({"LT", "RT", "HT"}), Common Order(0), Numerical Order(0),
	Use Locale Comparisons for Characters(0)}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Copy Column / Copy Column properties scripts usually require a bit modification (this is from Copy Column Properties)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Add Column Properties(
	Set Property(
		"Value Order",
		{Custom Order({"LT", "RT", "HT"}), Common Order(0), Numerical Order(0),
		Use Locale Comparisons for Characters(0)}
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2024 07:40:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-Set-Property-to-make-a-custerm-order-for-a-column/m-p/737571#M91874</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-22T07:40:39Z</dc:date>
    </item>
  </channel>
</rss>

