<?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 : remove selected row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : remove selected row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 20:12:18 +0000</pubDate>
  <lastBuildDate>Tue, 31 Jul 2007 06:47:32 +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=7633</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[remove selected row : In Classic VB use this subthe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24770&amp;title=remove-selected-row#24770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3182">NanoSofT</a><br /><strong>Subject:</strong> 7633<br /><strong>Posted:</strong> 31 July 2007 at 6:47am<br /><br />In Classic VB use this sub<br>the name 'lst' refer to the report control<br><br>Sub Delete()<br>Dim i As Long, Row As ReportRow<br>&nbsp;If lst.SelectedRows.Count = 0 Then<br>&nbsp;&nbsp;&nbsp; If lst.Records.Count = 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "No Row(s) Exist to Remove"<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Select The Row(s) you want to remove"<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;ElseIf lst.SelectedRows.Count &gt;= 1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Ready TO Remove : " &amp; lst.SelectedRows.Count &amp; " Row(s)"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If MsgBox("Are You Sure", vbInformation + vbYesNo) = vbNo Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lblStatus.Caption = "Remove cancelled"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Sub<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each Row In lst.SelectedRows<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Delete Row<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lst.Records.RemoveAt (Row.Record.Index)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Selected Rows removed successfully"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lst.Populate<br>&nbsp;End If<br>End Sub<br><br>try the reference next time (Codejock Path\help\SymbolReference.chm)<br>]]>
   </description>
   <pubDate>Tue, 31 Jul 2007 06:47:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24770&amp;title=remove-selected-row#24770</guid>
  </item> 
  <item>
   <title><![CDATA[remove selected row : hello, any idea please?  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24736&amp;title=remove-selected-row#24736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1884">moe188</a><br /><strong>Subject:</strong> 7633<br /><strong>Posted:</strong> 29 July 2007 at 1:51pm<br /><br />hello,<DIV>any idea please?</DIV><DIV><img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Sun, 29 Jul 2007 13:51:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24736&amp;title=remove-selected-row#24736</guid>
  </item> 
  <item>
   <title><![CDATA[remove selected row : hello, how can I be able to delete/remove...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24554&amp;title=remove-selected-row#24554</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1884">moe188</a><br /><strong>Subject:</strong> 7633<br /><strong>Posted:</strong> 19 July 2007 at 7:03pm<br /><br /><P>hello,</P><DIV>how can I be able to delete/remove a selected row from the reportcontrol?</DIV><DIV>thank you,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 19 Jul 2007 19:03:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7633&amp;PID=24554&amp;title=remove-selected-row#24554</guid>
  </item> 
 </channel>
</rss>