{"id":1512,"date":"2021-10-05T16:44:48","date_gmt":"2021-10-05T08:44:48","guid":{"rendered":"https:\/\/www.yohz.com\/blogs\/?p=1512"},"modified":"2021-10-05T16:44:48","modified_gmt":"2021-10-05T08:44:48","slug":"updating-embedded-data-in-ole-object-fields","status":"publish","type":"post","link":"https:\/\/www.yohz.com\/blogs\/2021\/10\/05\/updating-embedded-data-in-ole-object-fields\/","title":{"rendered":"Updating embedded data in OLE Object fields"},"content":{"rendered":"<p>Do you need to update a batch of OLE Object fields, and you don&#8217;t want to have to update them individually using your application?\u00a0 <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a> can help you with such tasks.<\/p>\n<p>We had a user that needed to update a few thousand rows in an Access table, specifically an OLE Object field that stores a zip archive.\u00a0 He already had all the zip files ready, but did not want to have to update each record individually.<\/p>\n<p>So in <a href=\"https:\/\/www.yohz.com\/siv8_details.htm\">SQL Image Viewer<\/a>, the existing records show up as zip archives embedded in OLE Object packages:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1515\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update20.png\" alt=\"\" width=\"862\" height=\"527\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update20.png 862w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update20-300x183.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update20-768x470.png 768w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update20-624x381.png 624w\" sizes=\"(max-width: 862px) 100vw, 862px\" \/><\/p>\n<p>The user already has the new zip files he wants to update the records with.\u00a0 Using <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a>, he just needs to prepare an upload definition file providing the key field value (<strong>ID<\/strong> in this case) and the OLE Object column to update the contents for (the <strong>quotations<\/strong> field).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1516\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update21.png\" alt=\"\" width=\"505\" height=\"244\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update21.png 505w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update21-300x145.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/p>\n<p>In <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a>, we enter the table to update together with this data file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1517\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update22.png\" alt=\"\" width=\"755\" height=\"476\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update22.png 755w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update22-300x189.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update22-624x393.png 624w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/p>\n<p>And that&#8217;s it.\u00a0 <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a> will update the OLE Object fields with the new zip files accordingly.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1518\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update23.png\" alt=\"\" width=\"856\" height=\"530\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update23.png 856w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update23-300x186.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update23-768x476.png 768w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update23-624x386.png 624w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/p>\n<p>Note that you can also update any of the other text or numeric fields in your tables using <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a>.\u00a0 For e.g. if the user had wanted to update the address field, he only needed to enter the new values in the data file e.g.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1519\" src=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update24.png\" alt=\"\" width=\"763\" height=\"235\" srcset=\"https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update24.png 763w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update24-300x92.png 300w, https:\/\/www.yohz.com\/blogs\/wp-content\/uploads\/2021\/10\/aoi_update24-624x192.png 624w\" sizes=\"(max-width: 763px) 100vw, 763px\" \/><\/p>\n<p>Learn more about Access OLE Import <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">here<\/a>, or <a href=\"https:\/\/www.yohz.com\/downloads\/accessoleimport\/AccessOLEImportSetup.zip\">download<\/a> a 14-day trial now.\u00a0 <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a> can help you update batches of records easily, instead of having to update each record individually via your application.<\/p>\n<p>See <a href=\"https:\/\/www.yohz.com\/blogs\/2021\/10\/05\/updating-linked-file-locations-in-an-ole-object-field\/\">here<\/a> on how you can update linked file locations using <a href=\"https:\/\/www.yohz.com\/aoi_details.htm\">Access OLE Import<\/a>.<\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fcbkbttn_like \"><fb:like href=\"https:\/\/www.yohz.com\/blogs\/2021\/10\/05\/updating-embedded-data-in-ole-object-fields\/\" action=\"like\" colorscheme=\"light\" layout=\"button\"  size=\"small\"><\/fb:like><\/div><div class=\"fb-share-button  \" data-href=\"https:\/\/www.yohz.com\/blogs\/2021\/10\/05\/updating-embedded-data-in-ole-object-fields\/\" data-type=\"button\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Do you need to update a batch of OLE Object fields, and you don&#8217;t want to have to update them individually using your application?\u00a0 Access OLE Import can help you with such tasks. We had a user that needed to update a few thousand rows in an Access table, specifically an OLE Object field that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[139],"tags":[140],"_links":{"self":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/1512"}],"collection":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/comments?post=1512"}],"version-history":[{"count":1,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/1512\/revisions"}],"predecessor-version":[{"id":1521,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/posts\/1512\/revisions\/1521"}],"wp:attachment":[{"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/media?parent=1512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/categories?post=1512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yohz.com\/blogs\/wp-json\/wp\/v2\/tags?post=1512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}