<?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: Name Unresolved: Button in access or evaluation JMP Alert Message in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Button-in-access-or-evaluation-JMP-Alert-Message/m-p/695829#M88096</link>
    <description>&lt;P&gt;Remove&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;			nw1 &amp;lt;&amp;lt; close window;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;from the "OK" button (window will be closed automatically as it is modal window). &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually when I do comparison with modal windows, I tend to use &amp;lt;&amp;lt; return result and then check for window_ref["Button"] != 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 18:24:04 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-11-08T18:24:04Z</dc:date>
    <item>
      <title>Name Unresolved: Button in access or evaluation JMP Alert Message</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Button-in-access-or-evaluation-JMP-Alert-Message/m-p/695751#M88087</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you could help me with this JMP Alert message I get when I run the following jsl:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//select the data in the original data table 
Names Default To Here( 1 );
dt = Current Data Table();

//column names 


//part 1. ask user for column names in a new window nw1
//possible Group column name (should be character) 
groupby_col_names = dt &amp;lt;&amp;lt; Get Column names(character, String);
//possible result column name (should be numeric)
numeric_col_names = dt &amp;lt;&amp;lt; Get Column names(Numeric, String);
nw1 = New Window("Generate an EAC Table",
	&amp;lt;&amp;lt;Modal,
	Text Box ("Select the variable with the the historical group in it:"),
	groupby_col = Radio Box(groupby_col_names),
	Text Box ("Select the variable with the results:"), 
	result_col = Radio Box(numeric_col_names),
	H List Box(
		Button Box("OK", 
		answers = Eval List(
		{
			set_groupby = groupby_col &amp;lt;&amp;lt; get selected, 
			set_resultcol = result_col &amp;lt;&amp;lt; get selected
		}
		);
	nw1 &amp;lt;&amp;lt; close window;
		),
	Button Box("Cancel")
		), 
	//change popup window size
	&amp;lt;&amp;lt;Size Window(500,400)
);	

// If cancel or red X was clicked, stop the script
If( nw1 == {Button( -1 )}, Stop() );&lt;/CODE&gt;&lt;/PRE&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="kachveder_0-1699461751653.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58460iD4DDD0DD5152A2EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kachveder_0-1699461751653.png" alt="kachveder_0-1699461751653.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I press "OK" it runs the code, and when I "X" or "Cancel", the code is not run. So, the program is as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But how can I get this JMP Alert to go away?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 16:48:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Button-in-access-or-evaluation-JMP-Alert-Message/m-p/695751#M88087</guid>
      <dc:creator>kachveder</dc:creator>
      <dc:date>2023-11-08T16:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved: Button in access or evaluation JMP Alert Message</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-Button-in-access-or-evaluation-JMP-Alert-Message/m-p/695829#M88096</link>
      <description>&lt;P&gt;Remove&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;			nw1 &amp;lt;&amp;lt; close window;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;from the "OK" button (window will be closed automatically as it is modal window). &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually when I do comparison with modal windows, I tend to use &amp;lt;&amp;lt; return result and then check for window_ref["Button"] != 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 18:24:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-Button-in-access-or-evaluation-JMP-Alert-Message/m-p/695829#M88096</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-08T18:24:04Z</dc:date>
    </item>
  </channel>
</rss>

