<?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 question in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19339#M17627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Vincent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few things going on here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Most importantly, the &lt;A href="http://www.jmp.com/support/help/Modal_Windows.shtml"&gt;Dialog()&lt;/A&gt; function is deprecated.&amp;nbsp; I recommend that you convert to New Window() with the &amp;lt;&amp;lt;Modal option as described in the &lt;A href="http://www.jmp.com/support/help/Modal_Windows.shtml#554325"&gt;online documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. In the example you have provided, the result assigned to GrillSel is a list.&amp;nbsp; Most likely, you would need to extract the selected value from the list in order to use the value.&lt;/P&gt;&lt;P&gt;3. See JMP Usage Note &lt;A href="http://www.jmp.com/support/notes/41824"&gt;41824&lt;/A&gt; for details regarding the use of a variable in a column formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 18:17:34 GMT</pubDate>
    <dc:creator>Wendy_Murphrey</dc:creator>
    <dc:date>2016-06-30T18:17:34Z</dc:date>
    <item>
      <title>Name Unresolved question</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19336#M17624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dlg = Dialog&amp;nbsp; ("Select Grill",&amp;nbsp; &lt;/P&gt;&lt;P&gt;vlist(Selection = listbox(GrillList),&lt;/P&gt;&lt;P&gt;button("OK")));&lt;/P&gt;&lt;P&gt;eval ( dlg [1]);&lt;/P&gt;&lt;P&gt;GrillSel = dlg ["Selection"];&lt;/P&gt;&lt;P&gt;Show( GrillSel );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An error popup message...Name Unresolved: Grillsel when GrillSel is used in a column formula.&lt;/P&gt;&lt;P&gt;Help is appreciated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 14:10:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19336#M17624</guid>
      <dc:creator>vincent_kane</dc:creator>
      <dc:date>2016-06-30T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved question</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19337#M17625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a bit confused.......but I will make a guess.&amp;nbsp; I get an error when the code is trying to find GrillList.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that GrillList is the name of a column in a data table, you will need to change the reference to it, to get the values from the data table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vlist(selection - listbox(:grillList&amp;lt;&amp;lt;get values),&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 14:47:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19337#M17625</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-06-30T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved question</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19338#M17626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim:&lt;/P&gt;&lt;P&gt;Here is the script. When I use GrillSel in a column formula I get the error message. However, I do see the value of GrillSel in the log after a selection is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = datatable("Sales w Corrosion Updated");&lt;/P&gt;&lt;P&gt;GrillList = AssociativeArray(Column(dt, "Grill") &amp;lt;&amp;lt; getValues) &amp;lt;&amp;lt; getKeys;&lt;/P&gt;&lt;P&gt;SaleYrList = AssociativeArray(Column(dt, "Sales Year") &amp;lt;&amp;lt; getValues) &amp;lt;&amp;lt; getKeys;&lt;/P&gt;&lt;P&gt;ClaimYrList = AssociativeArray(Column(dt, "Global Year") &amp;lt;&amp;lt; getValues) &amp;lt;&amp;lt; getKeys;&lt;/P&gt;&lt;P&gt;PartList = AssociativeArray(Column(dt, "grill parts") &amp;lt;&amp;lt; getValues) &amp;lt;&amp;lt; getKeys;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dlg = Dialog  ("Select Grill",&lt;/P&gt;&lt;P&gt;vlist(Selection = listbox(GrillList),&lt;/P&gt;&lt;P&gt;button("OK")));&lt;/P&gt;&lt;P&gt;eval ( dlg );&lt;/P&gt;&lt;P&gt;GrillSel = dlg ["Selection"];&lt;/P&gt;&lt;P&gt;Show( GrillSel );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 14:55:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19338#M17626</guid>
      <dc:creator>vincent_kane</dc:creator>
      <dc:date>2016-06-30T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Name Unresolved question</title>
      <link>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19339#M17627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Vincent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a few things going on here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Most importantly, the &lt;A href="http://www.jmp.com/support/help/Modal_Windows.shtml"&gt;Dialog()&lt;/A&gt; function is deprecated.&amp;nbsp; I recommend that you convert to New Window() with the &amp;lt;&amp;lt;Modal option as described in the &lt;A href="http://www.jmp.com/support/help/Modal_Windows.shtml#554325"&gt;online documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2. In the example you have provided, the result assigned to GrillSel is a list.&amp;nbsp; Most likely, you would need to extract the selected value from the list in order to use the value.&lt;/P&gt;&lt;P&gt;3. See JMP Usage Note &lt;A href="http://www.jmp.com/support/notes/41824"&gt;41824&lt;/A&gt; for details regarding the use of a variable in a column formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 18:17:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Name-Unresolved-question/m-p/19339#M17627</guid>
      <dc:creator>Wendy_Murphrey</dc:creator>
      <dc:date>2016-06-30T18:17:34Z</dc:date>
    </item>
  </channel>
</rss>

