<?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 : Get the handle of the above row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Get the handle of the above row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 21:11:08 +0000</pubDate>
  <lastBuildDate>Fri, 28 Jan 2011 02:39:09 +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=17811</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[Get the handle of the above row : Hi, Something like this: wnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17811&amp;PID=62341&amp;title=get-the-handle-of-the-above-row#62341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17811<br /><strong>Posted:</strong> 28 January 2011 at 2:39am<br /><br /><P>Hi,</P><P>Something like this:</P><P>wndReportControl.Rows(wndReportControl.SelectedRows(0).Index <strong>- 1</strong>).record.Item(0).Icon = ....</P><DIV>SelectedRows collection contains all selected rows, since you only selected one row, SelectedRows(0) is the row you need. Get the index minus one and you have the row just above the selected row. </DIV><DIV>&nbsp;</DIV><DIV>Maybe you can use BeforeDrawRow event to change icon? With this event you are able to change 'only' visual aspects and leave the records (as you originally added) unchanged.</DIV><DIV>&nbsp;</DIV><DIV>I don't know why you want to change icon, maybe&nbsp;uploading screenshot is best way to show what you need&nbsp;<img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 28 Jan 2011 02:39:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17811&amp;PID=62341&amp;title=get-the-handle-of-the-above-row#62341</guid>
  </item> 
  <item>
   <title><![CDATA[Get the handle of the above row : Hi        Do you know how...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17811&amp;PID=62331&amp;title=get-the-handle-of-the-above-row#62331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5309">mellysully</a><br /><strong>Subject:</strong> 17811<br /><strong>Posted:</strong> 27 January 2011 at 6:42am<br /><br />Hi <DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Do you know how to select the row&nbsp;and set it to a handle variable&nbsp;above the one I selected? so that I can update/change the icon depends on its child. </DIV><DIV>&nbsp;</DIV><DIV>Record 1</DIV><DIV>&nbsp;&nbsp; Child 1</DIV><DIV>&nbsp;&nbsp; <strong><FONT color=#cc0066>Child 2</FONT></strong></DIV><DIV>Record 2</DIV><DIV>&nbsp;&nbsp;&nbsp; Child 1</DIV><DIV>&nbsp;&nbsp;&nbsp; Child 2</DIV><DIV>&nbsp;</DIV><DIV>I selected the row shown pink highlighted and want to get the handle from child 1 to change the icon. </DIV><DIV>&nbsp;</DIV><DIV>Sample code would be great, thank you. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 06:42:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17811&amp;PID=62331&amp;title=get-the-handle-of-the-above-row#62331</guid>
  </item> 
 </channel>
</rss>