<?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: OLEDB - How to insert records from collection into AccessDb by using OLEDB in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/100804#M47958</link>
    <description>HI Sagar,&lt;BR /&gt;&lt;BR /&gt;You can configure the connection using OLE DB and execute the query to insert the rows into access DB.</description>
    <pubDate>Wed, 07 Jul 2021 16:03:08 GMT</pubDate>
    <dc:creator>krishna.kodimurali9</dc:creator>
    <dc:date>2021-07-07T16:03:08Z</dc:date>
    <item>
      <title>OLEDB - How to insert records from collection into AccessDb by using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/100803#M47957</link>
      <description>&lt;SPAN&gt;Hi Team, How can we insert records into AccessDB by using OLEDB connection. Here, the scenario I have records in the form of "Collection". I want to export this collection to Access DB&lt;/SPAN&gt;</description>
      <pubDate>Wed, 07 Jul 2021 13:56:26 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/100803#M47957</guid>
      <dc:creator>saagarmutyala</dc:creator>
      <dc:date>2021-07-07T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB - How to insert records from collection into AccessDb by using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/100804#M47958</link>
      <description>HI Sagar,&lt;BR /&gt;&lt;BR /&gt;You can configure the connection using OLE DB and execute the query to insert the rows into access DB.</description>
      <pubDate>Wed, 07 Jul 2021 16:03:08 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/100804#M47958</guid>
      <dc:creator>krishna.kodimurali9</dc:creator>
      <dc:date>2021-07-07T16:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB - How to insert records from collection into AccessDb by using OLEDB</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/109382#M49541</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;BR /&gt;You had a collection.Same collection format only access db also there.&lt;BR /&gt;Create new page under OLEDB vbo "give name as Insert collection into access db"&lt;BR /&gt;Inputs are Collection and connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=mdb file location"&lt;BR /&gt;&lt;BR /&gt;Code:&lt;BR /&gt;Dim moConnection As New OleDbConnection(connectionString)&lt;BR /&gt;moConnection.Open()&lt;BR /&gt;' Iterate over each row in the collection&lt;BR /&gt;For Each row As DataRow In Collection_DataItem.Rows&lt;BR /&gt;' Construct the SQL insert command for the current row&lt;BR /&gt;Dim insertQuery As String = "INSERT INTO [table name] ([Payment Total], [Invoice Number], [Amount Paid], [Remit ID], [Payment Reference], [Creation Date], [File path]) VALUES " &amp;amp; _&lt;BR /&gt;"('" &amp;amp; row("Payment Total") &amp;amp; "', '" &amp;amp; row("Invoice Number") &amp;amp; "', '" &amp;amp; row("Amount Paid") &amp;amp; "', '" &amp;amp; row("Remit ID") &amp;amp; "', '" &amp;amp; row("Payment Reference") &amp;amp; "', '" &amp;amp; row("Creation Date") &amp;amp; "', '" &amp;amp; row("File path") &amp;amp; "')"&lt;/P&gt;&lt;P&gt;' Create the command object&lt;BR /&gt;Dim oCommand As New OleDbCommand(insertQuery, moConnection)&lt;/P&gt;&lt;P&gt;' Execute the insert command for the current row&lt;BR /&gt;oCommand.ExecuteNonQuery()&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;' Close the database connection&lt;BR /&gt;moConnection.Close()&lt;BR /&gt;&lt;BR /&gt;Update as per needs. Above fields are my requirement. and its working.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 11:27:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-How-to-insert-records-from-collection-into-AccessDb-by/m-p/109382#M49541</guid>
      <dc:creator>ajaykumarchowdary143</dc:creator>
      <dc:date>2024-04-10T11:27:34Z</dc:date>
    </item>
  </channel>
</rss>

