<?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: IRow.Store() vs ITableWrite.WriteChangedRows() in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417213#M11208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the Java docs on ITableWrite:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html"&gt;http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WriteChangedRows also calls WriteRows, which writes a set of rows to the database without polymorphic object update behavior.&amp;nbsp; I'm assuming that means you don't get annotation updates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2013 15:00:49 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-05-13T15:00:49Z</dc:date>
    <item>
      <title>IRow.Store() vs ITableWrite.WriteChangedRows()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417212#M11207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can someone explain to me the differences between these two calls (other than the parameter differences)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a warning about calling IRow.Store() from an edit event, but the documentation on ITableWrite.WriteChangedRows() seems to be sparse on details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have code that was using ITableWrite.WriteChangedRows() to commit some changes that are cached. In 9.3.1, ITableWrite.WriteChangedRows() resulted in the update of the related annotation. However, in 10.1, the related annotation is no longer updated by this call. If I use IRow.Store() instead, the related annotation is updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any insights.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 12:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417212#M11207</guid>
      <dc:creator>JasonPike</dc:creator>
      <dc:date>2013-05-13T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: IRow.Store() vs ITableWrite.WriteChangedRows()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417213#M11208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the Java docs on ITableWrite:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html"&gt;http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WriteChangedRows also calls WriteRows, which writes a set of rows to the database without polymorphic object update behavior.&amp;nbsp; I'm assuming that means you don't get annotation updates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 15:00:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417213#M11208</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-05-13T15:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: IRow.Store() vs ITableWrite.WriteChangedRows()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417214#M11209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;From the Java docs on ITableWrite:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html"&gt;http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/com/esri/arcgis/geodatabase/ITableWrite.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;WriteChangedRows also calls WriteRows, which writes a set of rows to the database without polymorphic object update behavior.&amp;nbsp; I'm assuming that means you don't get annotation updates.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Leo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps that is the case, but there are some inconsistencies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A) This same code updated the annotation in version 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;B) I've created a test that attempted reproduce annotation not being updated when WriteChangedRows() was used. However, the annotation is updated in my simple example. I have attached the personal database, MXD, and VBA macro.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Workflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Open WriteChangedRows.mxd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Select �??Start Editing�?� in the Editor toolbar�??s Editing combo box&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Invoke the Select Features tool in the Tools toolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) Select the point with the annotation �??Hello world�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Customize -&amp;gt; VBA Macros -&amp;gt; Visual Basic Editor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6) File -&amp;gt; Import File�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7) Navigate to WriteChangedRows.cls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Run the macro &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9) Observe that annotation is properly updated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I've shown that changing my existing code to call IRow.Store() rather than ITableWrite.WriteChangedRows() results in the annotation getting updated. I'd like to understand the differences so that I can understand why ITableWrite.WriteChangedRows() is no longer working for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 15:08:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417214#M11209</guid>
      <dc:creator>JasonPike</dc:creator>
      <dc:date>2013-05-13T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: IRow.Store() vs ITableWrite.WriteChangedRows()</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417215#M11210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ITablewrite is a really low interface to support specific custom feature implementations and some NetCDF functions. It bypasses most of what .Store provides and as such should be used with caution, if at all outside these cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's some brief information at the bottom of &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//0001000002rs000000"&gt;Updating features&lt;/A&gt;&lt;SPAN&gt; in the sdk help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 18:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/irow-store-vs-itablewrite-writechangedrows/m-p/417215#M11210</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-13T18:46:43Z</dc:date>
    </item>
  </channel>
</rss>

