<?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: How to rename column 1 for every file during multiple file import in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563695#M77650</link>
    <description>&lt;P&gt;A source column is added to each file generated, which will allow you to concatenate all of the files into one file.&amp;nbsp; If you want to change the name of the first column in each file, that is easy to do after the files have been imported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 20:56:25 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-11-02T20:56:25Z</dc:date>
    <item>
      <title>How to rename column 1 for every file during multiple file import</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563443#M77637</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to rename the first column of every file so that all files can be imported to one single file.&lt;/P&gt;&lt;P&gt;Would anyone be able to help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Multiple File Import(
	&amp;lt;&amp;lt;Set Folder( "C:\Work folder\" ),
	&amp;lt;&amp;lt;Set Show Hidden( 0 ),
	&amp;lt;&amp;lt;Set Subfolders( 0 ),
	&amp;lt;&amp;lt;Set Name Filter( "*.*;" ),
	&amp;lt;&amp;lt;Set Name Enable( 0 ),
	&amp;lt;&amp;lt;Set Size Filter( {50795737, 79592416} ),
	&amp;lt;&amp;lt;Set Size Enable( 0 ),
	&amp;lt;&amp;lt;Set Date Filter( {3749625183.289, 3749827680.114} ),
	&amp;lt;&amp;lt;Set Date Enable( 0 ),
	&amp;lt;&amp;lt;Set Add File Name Column( 1 ),
	&amp;lt;&amp;lt;Set Add File Size Column( 0 ),
	&amp;lt;&amp;lt;Set Add File Date Column( 0 ),
	&amp;lt;&amp;lt;Set Import Mode( "CSVData" ),
	&amp;lt;&amp;lt;Set Charset( "Best Guess" ),
	&amp;lt;&amp;lt;Set Stack Mode( "Stack Similar" ),
	&amp;lt;&amp;lt;Set CSV Has Headers( 1 ),
	&amp;lt;&amp;lt;Set CSV Allow Numeric( 1 ),
	&amp;lt;&amp;lt;Set CSV First Header Line( 1 ),
	&amp;lt;&amp;lt;Set CSV Number Of Header Lines( 1 ),
	&amp;lt;&amp;lt;Set CSV First Data Line( 15 ),
	&amp;lt;&amp;lt;Set CSV EOF Comma( 1 ),
	&amp;lt;&amp;lt;Set CSV EOF Tab( 0 ),
	&amp;lt;&amp;lt;Set CSV EOF Space( 0 ),
	&amp;lt;&amp;lt;Set CSV EOF Spaces( 0 ),
	&amp;lt;&amp;lt;Set CSV EOF Other( "" ),
	&amp;lt;&amp;lt;Set CSV EOL CRLF( 1 ),
	&amp;lt;&amp;lt;Set CSV EOL CR( 1 ),
	&amp;lt;&amp;lt;Set CSV EOL LF( 1 ),
	&amp;lt;&amp;lt;Set CSV EOL Semicolon( 0 ),
	&amp;lt;&amp;lt;Set CSV EOL Other( "" ),
	&amp;lt;&amp;lt;Set CSV Quote( "\!"" ),
	&amp;lt;&amp;lt;Set CSV Escape( "" ),
	&amp;lt;&amp;lt;Set XML Method( "guess" ),
	&amp;lt;&amp;lt;Set XML Guess( "huge" ),
	&amp;lt;&amp;lt;Set XML Settings( XML Settings() ),
	&amp;lt;&amp;lt;Set JSON Method( "guess" ),
	&amp;lt;&amp;lt;Set JSON Guess( "huge" ),
	&amp;lt;&amp;lt;Set JSON Settings( JSON Settings() ),
	&amp;lt;&amp;lt;Set Import Callback( Empty() ),
) &amp;lt;&amp;lt; Import Data;

//col = Column( 1 );
//col &amp;lt;&amp;lt; Set Name( "Results" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:56:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563443#M77637</guid>
      <dc:creator>Hellford</dc:creator>
      <dc:date>2023-06-10T23:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to rename column 1 for every file during multiple file import</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563692#M77649</link>
      <description>&lt;P&gt;Save the data table reference returned from the function call. Use it to refer to the first column when you send the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Multiple File Import( ... ) &amp;lt;&amp;lt; Import Data;

Column( dt, 1 ) &amp;lt;&amp;lt; Set Name( "Results" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Nov 2022 20:54:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563692#M77649</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-11-02T20:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to rename column 1 for every file during multiple file import</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563695#M77650</link>
      <description>&lt;P&gt;A source column is added to each file generated, which will allow you to concatenate all of the files into one file.&amp;nbsp; If you want to change the name of the first column in each file, that is easy to do after the files have been imported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 20:56:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-rename-column-1-for-every-file-during-multiple-file/m-p/563695#M77650</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-11-02T20:56:25Z</dc:date>
    </item>
  </channel>
</rss>

