<?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: CSV Format Issue in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78733#M30728</link>
    <description>Hello,&amp;nbsp;&lt;SPAN&gt;Maneesh&lt;BR /&gt;&lt;BR /&gt;We used to have a lot of problems reading csv files. The best solution we found was using a schema.ini file to set how the csv file should be interpreted.&lt;BR /&gt;You can set the data type of a column so you can retrieve it the you need.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Take a look at this link:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/odbc/microsoft/schema-ini-file-text-file-driver?view=sql-server-ver15" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/sql/odbc/microsoft/schema-ini-file-text-file-driver?view=sql-server-ver15&lt;/A&gt;&lt;BR /&gt;and the attached file example&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Diogo Furlan&lt;BR /&gt;Analyst&lt;BR /&gt;Grupo NC&lt;BR /&gt;America/Sao_Paulo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Nov 2019 13:58:00 GMT</pubDate>
    <dc:creator>DiogoFurlan</dc:creator>
    <dc:date>2019-11-14T13:58:00Z</dc:date>
    <item>
      <title>CSV Format Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78729#M30724</link>
      <description>Hello - I am currently copying data from a web page and pasting it in a CSV. When Im trying to retrieve the data from the CSV - the number values are being formatted to scientific e-notation. For ex : if the number is&amp;nbsp;345622342342 before pasting it into a csv and closing that instance. When i try to retrieve the value from the CSV, it is being interpreted like the format ' 3.45E+15 '. How can i retrieve the data in the correct format from the csv?&amp;nbsp; Format Cell option may not work as the cell where the values are stored are dynamic and is based on the data copied. Please let me know if there are any other ways.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Maneesh &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 03:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78729#M30724</guid>
      <dc:creator>maneesh.vemula1</dc:creator>
      <dc:date>2019-09-23T03:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV Format Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78730#M30725</link>
      <description>try to use a c# code stage and transform number to integers&lt;BR /&gt;&lt;BR /&gt;
&lt;OL class="csharp"&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;SPAN&gt;float&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;myFloat&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;3&lt;SPAN&gt;.&lt;/SPAN&gt;5F&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;SPAN&gt;int&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;myInt&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Convert&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ToInt32&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;myFloat&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
Or if entire columns ==&amp;gt;&amp;nbsp;&lt;CODE&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;myNum &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; dt&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Columns&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;[&lt;/SPAN&gt;&lt;SPAN class="lit"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;];&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;SPAN class="pln"&gt;myNum &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ"&gt;int&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Parse&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;dt&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;Rows&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;[&lt;/SPAN&gt;&lt;SPAN class="lit"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;][&lt;/SPAN&gt;&lt;SPAN class="lit"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;].&lt;/SPAN&gt;&lt;SPAN class="typ"&gt;ToString&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;());&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;PRE class="lang-cs prettyprint prettyprinted"&gt;Stackoverflow should be your friend&lt;BR /&gt;&lt;BR /&gt;more info can be found here &lt;/PRE&gt;
&lt;A href="https://stackoverflow.com/questions/2592180/how-can-i-convert-this-column-value-to-an-integer" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/2592180/how-can-i-convert-this-column-value-to-an-integer&lt;/A&gt;&lt;CODE&gt;&lt;SPAN class="pun"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;PRE class="lang-cs prettyprint prettyprinted"&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;&lt;BR /&gt;Romania&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 05:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78730#M30725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-23T05:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV Format Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78731#M30726</link>
      <description>Hi Maneesh,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post your sample CSV?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Naga&lt;BR /&gt;Associate&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Sep 2019 11:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78731#M30726</guid>
      <dc:creator>NagaM</dc:creator>
      <dc:date>2019-09-25T11:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV Format Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78732#M30727</link>
      <description>There will probably be a number of other solutions, but one thing you can try is:&lt;BR /&gt;&lt;BR /&gt;- open the CSV as text&amp;nbsp; ( Utility - File Management - Read All Text From File ) &lt;BR /&gt;- use Utility Strings - Split Text and Split Lines to transform it to a collection in the right format&lt;BR /&gt;&lt;BR /&gt;Basically manipulate the raw text within blue prism, rather than the CSV going through a conversion which seems to be causing your problems.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Willem Borgesius&lt;BR /&gt;Technical Director&lt;BR /&gt;Delta4Services&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Nov 2019 16:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78732#M30727</guid>
      <dc:creator>willem.borg</dc:creator>
      <dc:date>2019-11-13T16:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV Format Issue</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78733#M30728</link>
      <description>Hello,&amp;nbsp;&lt;SPAN&gt;Maneesh&lt;BR /&gt;&lt;BR /&gt;We used to have a lot of problems reading csv files. The best solution we found was using a schema.ini file to set how the csv file should be interpreted.&lt;BR /&gt;You can set the data type of a column so you can retrieve it the you need.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Take a look at this link:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/odbc/microsoft/schema-ini-file-text-file-driver?view=sql-server-ver15" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/sql/odbc/microsoft/schema-ini-file-text-file-driver?view=sql-server-ver15&lt;/A&gt;&lt;BR /&gt;and the attached file example&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Diogo Furlan&lt;BR /&gt;Analyst&lt;BR /&gt;Grupo NC&lt;BR /&gt;America/Sao_Paulo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2019 13:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-Format-Issue/m-p/78733#M30728</guid>
      <dc:creator>DiogoFurlan</dc:creator>
      <dc:date>2019-11-14T13:58:00Z</dc:date>
    </item>
  </channel>
</rss>

