<?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: display row entries in a List box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/display-row-entries-in-a-List-box/m-p/378041#M62783</link>
    <description>&lt;P&gt;If you set the Value Order column property to Row Order Levels the Summarize will return the list in the order found in the data table&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Production ID &amp;lt;&amp;lt; set property("Value Order", {Common Order( 0 ), Row Order Levels( 1 )} );&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 19 Apr 2021 21:50:57 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-04-19T21:50:57Z</dc:date>
    <item>
      <title>display row entries in a List box</title>
      <link>https://community.jmp.com/t5/Discussions/display-row-entries-in-a-List-box/m-p/377981#M62777</link>
      <description>&lt;P&gt;I have a script that automatically opens and concat's files that the user selects.&amp;nbsp; basically, each file corresponds to a separate manufacturing batch. the user runs the script, a dialogue box shows up and the user selects all the files he/she wants to concat.&amp;nbsp; originally, the list of available runs just came from a list of available files in the source folder. however, by default this orders the files based on alpha numeric name--which is not in anyway chronological.&amp;nbsp; what i've decided to do is to instead have the list populate from a separate table with the batch IDs entered in chronological order.&amp;nbsp; this didnt help as the string still comes out in alphanumeric order. I want the list box to preserve the order of the source table so i can quickly grab only the most recent runs, for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;if(
	File Exists("M:\Data\prod_data.csv"),
	Open("M:\Data\prod_data.csv"),
	New Window("File Path Not Valid",
		&amp;lt;&amp;lt; Modal,
		V List Box(
			Text Box ("File Not Found!")
			)	
		)
	);


Data Table( "prod_data" ) &amp;lt;&amp;lt; Subset(
	All rows,
	columns( :Production ID ),
	Output Table ("Batch List"),
);


Close (Data Table ("prod_data"), No Save);
////////////////////

Clear Symbols( UniqueRuns );
Summarize(UniqueRuns = by(:Name("Production ID")));

For( i = 1, i &amp;lt;= N Items( UniqueRuns ), i++,
	UniqueRuns[i] = Regex( UniqueRuns[i], "offline_|.csv", "", GLOBALREPLACE )     

New Window( "Select Runs",  //creates a window from which users can select the runs they want to analyze by holding Ctrl or Shift
	&amp;lt;&amp;lt;Modal,
	V List Box(
		Panel Box( "Batch Numbers Present on List", Runs_entry = List Box( UniqueRuns ) ),
		BBox = Button Box( "OK",
			SelectedRuns = Runs_entry &amp;lt;&amp;lt; Get Selected;
			BBox &amp;lt;&amp;lt; Close Window;
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:28:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/display-row-entries-in-a-List-box/m-p/377981#M62777</guid>
      <dc:creator>tatersalad</dc:creator>
      <dc:date>2023-06-10T23:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: display row entries in a List box</title>
      <link>https://community.jmp.com/t5/Discussions/display-row-entries-in-a-List-box/m-p/378041#M62783</link>
      <description>&lt;P&gt;If you set the Value Order column property to Row Order Levels the Summarize will return the list in the order found in the data table&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Production ID &amp;lt;&amp;lt; set property("Value Order", {Common Order( 0 ), Row Order Levels( 1 )} );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Apr 2021 21:50:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/display-row-entries-in-a-List-box/m-p/378041#M62783</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-19T21:50:57Z</dc:date>
    </item>
  </channel>
</rss>

