<?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: Select columns contained in user supplied list in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8844#M8832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help with this.&amp;nbsp; I see now that my thinking about which column to loop over was what was causing me some of my earlier grief.&amp;nbsp; I assumed I would loop over and select the columns listed in the data table variable list, not the user specified list.&amp;nbsp; Always learning something new here.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 23:23:46 GMT</pubDate>
    <dc:creator>terapin</dc:creator>
    <dc:date>2014-06-30T23:23:46Z</dc:date>
    <item>
      <title>Select columns contained in user supplied list</title>
      <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8840#M8828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to figure out how to use a user specified list to select those data columns contained in the list.&amp;nbsp; The user supplied list may contain more or less names than present in data table.&amp;nbsp; For example, I've tried the following but I can't seem to get it to work.&amp;nbsp; Any ideas would be appreciated.&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = open("$SAMPLE_DATA/Big Class.jmp");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Get list of data column names&lt;/P&gt;&lt;P&gt;col_list = dt &amp;lt;&amp;lt; Get Column Names ( String );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// User specified column names&lt;/P&gt;&lt;P&gt;cc = { sex, weight, test, new, old };&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;for( i=1, i&amp;lt;=ncol( cc ), i++,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(contains( col_list, cc&lt;I&gt; ), &lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column ( dt, col_list&lt;I&gt; ) &amp;lt;&amp;lt; Set Selected ( 1 )&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 17:21:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8840#M8828</guid>
      <dc:creator>terapin</dc:creator>
      <dc:date>2014-06-30T17:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select columns contained in user supplied list</title>
      <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8841#M8829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;Almost there. Use N Items() instead of ncol() for lists. And to match two items both need&amp;nbsp; to of the same data type. So, either provide the user supplied list as a list of strings or use Char()as below.&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #008f00;"&gt;// Get list of data column names&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;col_list &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; dt &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Get Column Names&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; string &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #008f00;"&gt;// User specified column names&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;cc &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;sex&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; weight&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; test&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; new&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; old&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;For&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i &lt;SPAN style="color: #011993;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;N Items&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i&lt;SPAN style="color: #011993;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #032ce4;"&gt;If&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #032ce4;"&gt;Contains&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; col_list&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;Char&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #032ce4;"&gt;Column&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; dt&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; col_list&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Set Selected&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 17:42:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8841#M8829</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2014-06-30T17:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select columns contained in user supplied list</title>
      <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8842#M8830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tips.&amp;nbsp; Although the code you provided runs it doesn't select just those columns listed in the user specified list.&amp;nbsp; For example, the code listed above selects the first two columns ( name and sex) even though sex isn't in the user specified list.&amp;nbsp; I was thinking this list construct was going through and finding those column numbers in col_list that match those located in cc and then selecting them.&amp;nbsp; It appears that it is actually selects the columns based on position in cc, not name.&amp;nbsp; Is it possible to select the columns according to matched names, not position?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 18:25:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8842#M8830</guid>
      <dc:creator>terapin</dc:creator>
      <dc:date>2014-06-30T18:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select columns contained in user supplied list</title>
      <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8843#M8831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not looking into the details of the output. You are looping over cc, then you should refer to cc&lt;I&gt; rather than col_list&lt;I&gt; to get the desired result.&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #942193;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #032ce4;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"$SAMPLE_DATA/Big Class.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #008f00;"&gt;// Get list of data column names&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;col_list &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; dt &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Get Column Names&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; string &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier; color: #008f00;"&gt;// User specified column names&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;cc &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;sex&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; weight&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; test&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; new&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; old&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;For&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i &lt;SPAN style="color: #011993;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;N Items&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i&lt;SPAN style="color: #011993;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #032ce4;"&gt;If&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #032ce4;"&gt;Contains&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; col_list&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;Char&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #032ce4;"&gt;Column&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; dt&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;Char&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Set Selected&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;SPAN style="color: #011993;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;SPAN style="color: #011993;"&gt;//This works too&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;For&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i &lt;SPAN style="color: #011993;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i &lt;SPAN style="color: #011993;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;N Items&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; i&lt;SPAN style="color: #011993;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #032ce4;"&gt;If&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #032ce4;"&gt;Contains&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; col_list&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #032ce4;"&gt;Char&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; cc&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;cc&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;])&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&lt;STRONG&gt;Set Selected&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 15px; font-family: Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 18:39:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8843#M8831</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2014-06-30T18:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select columns contained in user supplied list</title>
      <link>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8844#M8832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help with this.&amp;nbsp; I see now that my thinking about which column to loop over was what was causing me some of my earlier grief.&amp;nbsp; I assumed I would loop over and select the columns listed in the data table variable list, not the user specified list.&amp;nbsp; Always learning something new here.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 23:23:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Select-columns-contained-in-user-supplied-list/m-p/8844#M8832</guid>
      <dc:creator>terapin</dc:creator>
      <dc:date>2014-06-30T23:23:46Z</dc:date>
    </item>
  </channel>
</rss>

