<?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: Importing data to collection from .csv using OLEDB in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59227#M12915</link>
    <description>&lt;P&gt;hi &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_2_NameLink_2" biobubblekey="7651205a-83b2-477d-a8d5-0186d6257ab5" href="https://community.blueprism.com/network/profile?UserKey=7651205a-83b2-477d-a8d5-0186d6257ab5" target="_blank" rel="noopener"&gt;Michael Rømer&lt;/A&gt;&amp;nbsp; - i have mentioned one thread for this feature which can help you checking this action out.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=16adfb54-82e0-4699-bf49-d1142daeec53&amp;amp;CommunityKey=1e516cfe-4d1f-4de9-a9eb-58d15bf38c81#bm16adfb54-82e0-4699-bf49-d1142daeec53" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=16adfb54-82e0-4699-bf49-d1142daeec53&amp;amp;CommunityKey=1e516cfe-4d1f-4de9-a9eb-58d15bf38c81#bm16adfb54-82e0-4699-bf49-d1142daeec53&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Apr 2023 13:45:00 GMT</pubDate>
    <dc:creator>Neel1</dc:creator>
    <dc:date>2023-04-12T13:45:00Z</dc:date>
    <item>
      <title>Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59224#M12912</link>
      <description>&lt;P&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;I've browsed the forums and found a lot of help getting started using OLEDB. However, &lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;&lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;I'm having an issue when importing a .csv file into a collection. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;I can manage to import the data, but it's imported into a single column separated with ";" even though the file is with columnheaders.&lt;BR /&gt;&lt;BR /&gt;File:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26513.jpg"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26644i6F0D004607F68223/image-size/large?v=v2&amp;amp;px=999" role="button" title="26513.jpg" alt="26513.jpg" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;This is my connection string:&lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt; &lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;"Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " &amp;amp; [Path2] &amp;amp; ";Extended Properties = ""text;HDR=Yes;FMT = Delimited(;);Persist Security Info = False"""&lt;/SPAN&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;&lt;BR /&gt;The file contains over 100k lines, so my goal is using a "Get collection" to only import the relevant part of the csv file, using an expression looking something like this:&lt;BR /&gt;&lt;BR /&gt;"SELECT [cprnr],[dato] FROM ["&amp;amp;[FILE]&amp;amp;"] WHERE [cprnr] = '"&amp;amp;[CPR]&amp;amp;"'"&lt;BR /&gt;&lt;BR /&gt;However using this, I get the error &lt;EM&gt;"Internal : Could not execute code stage because exception thrown by code stage: No value given for one or more required parameters."&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN dir="auto" class="style-scope yt-formatted-string"&gt;Does anyone have some insight towards a solution? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Rømer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 12:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59224#M12912</guid>
      <dc:creator>mroemer</dc:creator>
      <dc:date>2023-04-12T12:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59225#M12913</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="7651205a-83b2-477d-a8d5-0186d6257ab5" href="https://community.blueprism.com/network/profile?UserKey=7651205a-83b2-477d-a8d5-0186d6257ab5" target="_blank" rel="noopener"&gt;Michael Rømer &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;alternatively ,There is an action in&lt;STRONG&gt; Utility - File Management&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;VBO called as &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Get CSV Text as Collection - Chunk. &lt;/STRONG&gt;You can use this read data from CSV in chunk.&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 13:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59225#M12913</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2023-04-12T13:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59226#M12914</link>
      <description>&lt;P&gt;Thank you, Neeraj. I will try it out and report back &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Rømer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 13:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59226#M12914</guid>
      <dc:creator>mroemer</dc:creator>
      <dc:date>2023-04-12T13:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59227#M12915</link>
      <description>&lt;P&gt;hi &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_2_NameLink_2" biobubblekey="7651205a-83b2-477d-a8d5-0186d6257ab5" href="https://community.blueprism.com/network/profile?UserKey=7651205a-83b2-477d-a8d5-0186d6257ab5" target="_blank" rel="noopener"&gt;Michael Rømer&lt;/A&gt;&amp;nbsp; - i have mentioned one thread for this feature which can help you checking this action out.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=16adfb54-82e0-4699-bf49-d1142daeec53&amp;amp;CommunityKey=1e516cfe-4d1f-4de9-a9eb-58d15bf38c81#bm16adfb54-82e0-4699-bf49-d1142daeec53" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/viewthread?MessageKey=16adfb54-82e0-4699-bf49-d1142daeec53&amp;amp;CommunityKey=1e516cfe-4d1f-4de9-a9eb-58d15bf38c81#bm16adfb54-82e0-4699-bf49-d1142daeec53&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 13:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59227#M12915</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2023-04-12T13:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59228#M12916</link>
      <description>&lt;P&gt;Hi Michael&lt;BR /&gt;&lt;BR /&gt;I think your sql script may be a little off, the column field headers dont need to be in&amp;nbsp; brackets and the criteria only needs to be in single quotes. &lt;SPAN&gt;Also it looks like File is being used where the sheet name should be, the worksheet name should be encased in brackets and with a $ after the name&lt;/SPAN&gt;&amp;nbsp;e.g. "&lt;SPAN&gt;SELECT cprnr,dato FROM [Sheet1$] WHERE cprnr = '123'"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59228#M12916</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2023-04-12T14:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Importing data to collection from .csv using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59229#M12917</link>
      <description>&lt;P&gt;&lt;BR /&gt;I ended up with a solution querying into the csv file with the expression below, which yelded the wished results. I can then split the collection as needed afterwards.&amp;nbsp;Thank you for your replies.&lt;BR /&gt;&lt;BR /&gt;"SELECT * FROM ["&amp;amp;[FIlENAME]&amp;amp;"] WHERE [2;cprnr;aarsag;dato;skolekode;] LIKE ('%"&amp;amp;[Cpr2]&amp;amp;"%') AND [2;cprnr;aarsag;dato;skolekode;] LIKE ('%"&amp;amp;[Dato]&amp;amp;"%')"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Rømer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Apr 2023 08:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Importing-data-to-collection-from-csv-using-OLEDB/m-p/59229#M12917</guid>
      <dc:creator>mroemer</dc:creator>
      <dc:date>2023-04-13T08:52:00Z</dc:date>
    </item>
  </channel>
</rss>

