﻿<?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 » WinForms (How do I?)  » Very strange maintenance form issue</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 17:47:29 GMT</lastBuildDate><ttl>20</ttl><item><title>Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11723.aspx</link><description>I'm not sure if this is just a one-off type of thing but I am experiencing a very strange issue with one of my maintenance forms.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The form is very simple...It's a SF Maintenace Form with a few combo box fields and about 10 textbox fields. Nothing out of the ordinary and I do not have this issue on any other form.&lt;/P&gt;&lt;P&gt;I add one record... no problem. I then click on 'New' to create a second record. I fill part of the form and then all of a sudden it appears to automatically revert back to the first saved record, almost like an Undo was performed while in add mode.&lt;/P&gt;&lt;P&gt;I removed all the underlying code to ensure it wasn't something I was doing and it still does the same thing. &lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 03 Oct 2007 10:13:09 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11824.aspx</link><description>[quote][b]Robin J Giltner (09/27/2007)[/b][hr]I had that problem pop up in a few spots and was always a byproduct of my sort on the business object. Once I &lt;STRONG&gt;&lt;FONT color=#ff1111&gt;turned sorting off on EditingStateChanged&lt;/FONT&gt;&lt;/STRONG&gt;, that stopped happening. But if you aren't setting the sort on the form, that may not be the problem.&lt;BR&gt;&lt;BR&gt;Robin Giltner[/quote]&lt;/P&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Then, just to be clear, the solution to this situation would be as recomended by Robin (see quote).</description><pubDate>Wed, 03 Oct 2007 10:13:09 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11815.aspx</link><description>Yeah, when you have a sort or filter turned on on the business object, since the CurrentRow is specified by the CurrentRowIndex, as the data changes in the business object and the records are resorted, the CurrentRow can change from one record to another record because the rows are reordered, but the CurrentRowIndex says the same.</description><pubDate>Wed, 03 Oct 2007 09:24:13 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11812.aspx</link><description>That's exactly what it was Robin. I set the sort after&amp;nbsp;filling the BO which seemed to cause the problem. I'm not sure why I did this in the first place.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Wed, 03 Oct 2007 07:41:56 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11738.aspx</link><description>I had that problem pop up in a few spots and was always a byproduct of my sort on the business object. Once I turned sorting off on EditingStateChanged, that stopped happening.  But if you aren't setting the sort on the form, that may not be the problem.&lt;br&gt;
&lt;br&gt;
Robin Giltner</description><pubDate>Thu, 27 Sep 2007 13:57:13 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11732.aspx</link><description>True, but I think that the logic that is causing the problem is in the BO.&amp;nbsp; This kind of points in that direction since the problem followed the BO on a blank form.</description><pubDate>Thu, 27 Sep 2007 11:28:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11731.aspx</link><description>I created a brand new form with 5 of the fields. There is no code at all behind the form.&amp;nbsp; I bind the 4 fields and I still have the exact same issue.&amp;nbsp; I will try the debug route to see what's happening.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tim</description><pubDate>Thu, 27 Sep 2007 11:24:41 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Very strange maintenance form issue</title><link>http://forum.strataframe.net/FindPost11726.aspx</link><description>Well, there has to be something that is either firing an Undo, navigating the record, etc.&amp;nbsp; Have you tried adding a break point in the navigating event and then looking at the call stack?&amp;nbsp; You could also open up the SF source, build it in debug mode, and add a break point in the OnNavigating method in the BusinessLayer class.&amp;nbsp; You could then look at the call stack and meybe get an idea of what is firing.&amp;nbsp; I have never heard of anything like you are describing so there has to be some event that is being raised/handled or an Undo called make this happen.</description><pubDate>Thu, 27 Sep 2007 11:03:50 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>