﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » DeleteCurrentRow not deleting current row</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 10:39:49 GMT</lastBuildDate><ttl>20</ttl><item><title>DeleteCurrentRow not deleting current row</title><link>http://forum.strataframe.net/FindPost3983.aspx</link><description>I have a BO that I have attached to a user control and am doing a delete operation on it from within the user control.&amp;nbsp; I set the BO to the record I wish to delete and then call BO.DeleteCurrentRow(False).&amp;nbsp; This seems to be deleting the last record in the BO every time regardless of what row it is currently on.&amp;nbsp; I can look at the data in the BO and it matches the row I wish to delete (the current row) right before DeleteCurrentRow is called, but it doesn't delete that row.&amp;nbsp; Any ideas as to why this could be occurring?&amp;nbsp; Thanks</description><pubDate>Mon, 30 Oct 2006 14:53:39 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: DeleteCurrentRow not deleting current row</title><link>http://forum.strataframe.net/FindPost3993.aspx</link><description>Sure...it is generally some event moving the record pointer when you see a symtom like that.&amp;nbsp; Glad you found it :)</description><pubDate>Mon, 30 Oct 2006 14:53:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DeleteCurrentRow not deleting current row</title><link>http://forum.strataframe.net/FindPost3991.aspx</link><description>OK, I think I got it.&amp;nbsp; The current row on the&amp;nbsp;BO was getting moved because the CustomColumnDisplayText event was firing on a grid which was calling a MoveAbsolute on the BO.&amp;nbsp;&amp;nbsp;I just restructured the code so it wouldn't have to&amp;nbsp;change rows and&amp;nbsp;it&amp;nbsp;now deletes the correct row.&amp;nbsp; Thanks for the help.</description><pubDate>Mon, 30 Oct 2006 14:43:56 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: DeleteCurrentRow not deleting current row</title><link>http://forum.strataframe.net/FindPost3986.aspx</link><description>Do you have any code in the BeforeDelete event or is there something that could be firing in your environment that is moving the record pointer?&amp;nbsp; To make sure that to BO is OK, create a new form, drop the BO on the form,&amp;nbsp;and manually populate the BO.&amp;nbsp; Add a button to delete the current row.&amp;nbsp; Does it delete only the last record?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Is the BO that you are deleting from tied to a grid?&amp;nbsp;</description><pubDate>Mon, 30 Oct 2006 14:14:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>