<?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: Move a Specific Column in a Collection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85140#M36179</link>
    <description>&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23775.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23912i4A41E9400222F743/image-size/large?v=v2&amp;amp;px=999" role="button" title="23775.png" alt="23775.png" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23776.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23908iC3560814CF930C24/image-size/large?v=v2&amp;amp;px=999" role="button" title="23776.png" alt="23776.png" /&gt;&lt;/span&gt;I'm trying this but do not understand if i needed "colName" into input.&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Jun 2020 11:54:00 GMT</pubDate>
    <dc:creator>MassallysSilva</dc:creator>
    <dc:date>2020-06-04T11:54:00Z</dc:date>
    <item>
      <title>Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85137#M36176</link>
      <description>&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 16 columns but I want the last column to be between columns 6 and 7 for example, I already tried this by changing the code of the 'Merge Collection' how do I put it exactly where I want it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2020 20:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85137#M36176</guid>
      <dc:creator>MassallysSilva</dc:creator>
      <dc:date>2020-06-03T20:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85138#M36177</link>
      <description>Try this&amp;nbsp;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;c1.Columns(colName).SetOrdinal(colIndex)
c3 = c1​&lt;/PRE&gt;
Edit: (for better understanding) 3 inputs c1=collection, colName=str, colIndex=Index output c3=collection and above 2 lines of code in code stage.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 03:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85138#M36177</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2020-06-04T03:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85139#M36178</link>
      <description>It will be like this right?&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV&gt;For Each c As DataColumn in c2.Columns&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;c1.Columns.Add(CloneColumn(c))&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt; Next&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;For r As Integer = 0 To c1.Rows.Count + 1&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;If r &amp;lt; c2.Rows.Count Then&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;For Each c As DataColumn in c2.Columns&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;c1.Rows(r)(c.ColumnName) = c2.Rows(r)(c.ColumnName)&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Next&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;Else&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Exit For&lt;BR /&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;End If&lt;BR /&gt; Next&lt;BR /&gt; c1.Columns(colName).SetOrdinal(colIndex)&lt;BR /&gt; c3 = c1&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85139#M36178</guid>
      <dc:creator>MassallysSilva</dc:creator>
      <dc:date>2020-06-04T11:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85140#M36179</link>
      <description>&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23775.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23912i4A41E9400222F743/image-size/large?v=v2&amp;amp;px=999" role="button" title="23775.png" alt="23775.png" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23776.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23908iC3560814CF930C24/image-size/large?v=v2&amp;amp;px=999" role="button" title="23776.png" alt="23776.png" /&gt;&lt;/span&gt;I'm trying this but do not understand if i needed "colName" into input.&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 11:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85140#M36179</guid>
      <dc:creator>MassallysSilva</dc:creator>
      <dc:date>2020-06-04T11:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85141#M36180</link>
      <description>This code does work it thank you&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85141#M36180</guid>
      <dc:creator>MassallysSilva</dc:creator>
      <dc:date>2020-06-04T12:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85142#M36181</link>
      <description>Glad that you were able to get it. &lt;BR /&gt;I edited the comment above to make it clear.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85142#M36181</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2020-06-04T12:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Move a Specific Column in a Collection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85143#M36182</link>
      <description>Yes, I saw. Thank you very much. You helped a lot!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Massallys Silva&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2020 13:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Move-a-Specific-Column-in-a-Collection/m-p/85143#M36182</guid>
      <dc:creator>MassallysSilva</dc:creator>
      <dc:date>2020-06-04T13:15:00Z</dc:date>
    </item>
  </channel>
</rss>

