<?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: Pass combo box value to another script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Pass-combo-box-value-to-another-script/m-p/486027#M72997</link>
    <description>&lt;P&gt;you should not have a problem if you use a global variable with the same name in both scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you currently using specific namespaces for the variable, such as &lt;STRONG&gt;Here&lt;/STRONG&gt;? That practice will prevent the second script from accessing the variable defined in the first script.&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 12:31:58 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2022-05-11T12:31:58Z</dc:date>
    <item>
      <title>Pass combo box value to another script</title>
      <link>https://community.jmp.com/t5/Discussions/Pass-combo-box-value-to-another-script/m-p/485873#M72978</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am currently working on 2 scripts. The 2nd script is being included on the 1st one.&lt;/P&gt;&lt;P&gt;I have a combo box on my 1st script that needs the value to be passed into the 2nd script so I can remove unwanted columns from the 2nd script. But the variable used for my combo box doesn't pass the value to the 2nd script. Pls help&lt;BR /&gt;&lt;BR /&gt;1st Script&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;H List Box (cb = Combo Box( {"", "Apple", "Orange"}, frt = cb &amp;lt;&amp;lt; GetSelected();  )),						&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2nd Script&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;colname = { "Apple", "Banana", "Strawberry", "Mango", Orange"
		};


if (frt== "Apple", 
	Remove From( colname, Contains( colname, "Apple" ) ),	
	Remove From( colname, Contains( colname, "Orange" ) )	
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:50:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pass-combo-box-value-to-another-script/m-p/485873#M72978</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2023-06-10T20:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pass combo box value to another script</title>
      <link>https://community.jmp.com/t5/Discussions/Pass-combo-box-value-to-another-script/m-p/486027#M72997</link>
      <description>&lt;P&gt;you should not have a problem if you use a global variable with the same name in both scripts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you currently using specific namespaces for the variable, such as &lt;STRONG&gt;Here&lt;/STRONG&gt;? That practice will prevent the second script from accessing the variable defined in the first script.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 12:31:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Pass-combo-box-value-to-another-script/m-p/486027#M72997</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-05-11T12:31:58Z</dc:date>
    </item>
  </channel>
</rss>

