<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : [SOLVED] Edit Cancelled on Populate</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Edit Cancelled on Populate]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 08:27:49 +0000</pubDate>
  <lastBuildDate>Sun, 21 Jun 2009 12:26:19 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14585</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate : Actually, I just found the UpdateField...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50156&amp;title=solved-edit-cancelled-on-populate#50156</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 21 June 2009 at 12:26pm<br /><br />Actually, I just found the UpdateField method of the DataManager object, which is likely even a better choice, since it only updates a single ReportRecordItem instead of the entire ReportRecord.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>With Me.ReportControl1<br>&nbsp;&nbsp;&nbsp;&nbsp; .DataManager.UpdateField lo_Rec.Item(l_UpdatedItemIndex) ' Where lo_Rec is a ReportRecord object<br>End With<br></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Sun, 21 Jun 2009 12:26:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50156&amp;title=solved-edit-cancelled-on-populate#50156</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate : Hi Aaron,I tried the Redraw method,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50155&amp;title=solved-edit-cancelled-on-populate#50155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 21 June 2009 at 12:11pm<br /><br />Hi Aaron,<br><br>I tried the Redraw method, but it also closes the edit window if the user is typing into a ReportRecordItem. It seems that UpdateRecord doesn't close the window though (which works for my purposes).<br>]]>
   </description>
   <pubDate>Sun, 21 Jun 2009 12:11:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50155&amp;title=solved-edit-cancelled-on-populate#50155</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate : Hi Jason,   If you only need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50152&amp;title=solved-edit-cancelled-on-populate#50152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 21 June 2009 at 2:20am<br /><br />Hi Jason, <DIV>&nbsp;</DIV><DIV>If you only need to update value on screen just call ReportControl.Redraw method. <DIV>&nbsp;</DIV><DIV>You need UpdateRecord or Populate call only if changed value change Row position (in sort order or in groups).</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Sun, 21 Jun 2009 02:20:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50152&amp;title=solved-edit-cancelled-on-populate#50152</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate : Looks like the UpdateRecord method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50151&amp;title=solved-edit-cancelled-on-populate#50151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 20 June 2009 at 11:36pm<br /><br />Looks like the UpdateRecord method does what I want (ReportRecordItems can be changed programmatically without causing the edit window to close).<br>]]>
   </description>
   <pubDate>Sat, 20 Jun 2009 23:36:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50151&amp;title=solved-edit-cancelled-on-populate#50151</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate : After more testing, I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50150&amp;title=solved-edit-cancelled-on-populate#50150</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 20 June 2009 at 11:24pm<br /><br />After more testing, I've discovered that the edit box disappears after calling ReportControl1.Populate. Is there any way to prevent this? Perhaps if there is a way to refresh a specific ReportRecordItem instead of calling Populate to refresh the whole RC?]]>
   </description>
   <pubDate>Sat, 20 Jun 2009 23:24:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50150&amp;title=solved-edit-cancelled-on-populate#50150</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Edit Cancelled on Populate :  I have a report control with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50148&amp;title=solved-edit-cancelled-on-populate#50148</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14585<br /><strong>Posted:</strong> 20 June 2009 at 4:32pm<br /><br />I have a report control&nbsp; with 2 columns, only 1 of which is editable. I have a separate thread that raises an event that modifies the caption of the UNeditable column. If this event get raised (and changes the caption of the uneditable item) while the user is editing an item in the editable column, the edit window gets closed. Is there any way to prevent this?<br>]]>
   </description>
   <pubDate>Sat, 20 Jun 2009 16:32:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14585&amp;PID=50148&amp;title=solved-edit-cancelled-on-populate#50148</guid>
  </item> 
 </channel>
</rss>