<?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: Converting a Data Type from Number to Text in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98193#M46005</link>
    <description>&lt;P&gt;Thanks yo so much Mukesh - that worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !!!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2023 08:52:58 GMT</pubDate>
    <dc:creator>FrankieTEWV</dc:creator>
    <dc:date>2023-07-14T08:52:58Z</dc:date>
    <item>
      <title>Converting a Data Type from Number to Text</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98191#M46003</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;In my process we download a compliance report , the only data we need from this report is the Staff Number and the Appraisal Date.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;The report is a csv file and we put this into a collection. The issue im having is that some of the staff numbers is in the report have a dash in them eg 123456-7&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;The data type for the Staff Number is automatically pulled through as (Number) in the collection therefore any staff numbers that have a dash in are coming through as 0, i know the reason why its doing this is because any with a dash in should have the data type (Text) not (Number)&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35748.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35766i1544428124DB4957/image-size/large?v=v2&amp;amp;px=999" role="button" title="35748.png" alt="35748.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Does anyone know how I can convert or change the data type against the Staff Number field to be (Text) so that any staff numbers with a dash in them will be put into the collection NOT as 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Franie&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:18:08 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98191#M46003</guid>
      <dc:creator>FrankieTEWV</dc:creator>
      <dc:date>2023-07-13T16:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a Data Type from Number to Text</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98192#M46004</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="adaf9c68-0dd0-4a7c-9ca0-82149fea804d" data-tag-text="@Frankie Legg" href="https://community.blueprism.com/network/profile?UserKey=adaf9c68-0dd0-4a7c-9ca0-82149fea804d" data-itemmentionkey="8fc70e94-22b2-49fd-85ac-729e7b270b60"&gt;@Frankie Legg&lt;/A&gt; - Utility File Management - Get CSV as Collection uses OLEDB to pull and parse the CSV data - which by default is taking the source data format to the output collection, to avoid this formatting issues you could use two actions - &lt;STRONG&gt;Utility File Management - Read All Text from File&lt;/STRONG&gt; - Read everything as text values first and then do the &lt;STRONG&gt;Utility - Strings : CSV to Collection&lt;/STRONG&gt;, see below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35743.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35762i88F34A2330D6CFEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="35743.png" alt="35743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35744.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35767i21164AA573B3B12A/image-size/large?v=v2&amp;amp;px=999" role="button" title="35744.png" alt="35744.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35745.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35768i134688FB70BA0670/image-size/large?v=v2&amp;amp;px=999" role="button" title="35745.png" alt="35745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Example Output Collection as below :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35746.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35769iB721E81C4581633B/image-size/large?v=v2&amp;amp;px=999" role="button" title="35746.png" alt="35746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mukesh Kumar - Senior Automation Developer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NHS, England, United Kingdom, GB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 00:21:32 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98192#M46004</guid>
      <dc:creator>Mukeshh_k</dc:creator>
      <dc:date>2023-07-14T00:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a Data Type from Number to Text</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98193#M46005</link>
      <description>&lt;P&gt;Thanks yo so much Mukesh - that worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; !!!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 08:52:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Converting-a-Data-Type-from-Number-to-Text/m-p/98193#M46005</guid>
      <dc:creator>FrankieTEWV</dc:creator>
      <dc:date>2023-07-14T08:52:58Z</dc:date>
    </item>
  </channel>
</rss>

