﻿<?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 » Business Objects and Data Access (How do I?)  » Question about CheckRulesOnCurrentRow</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 10 Sep 2026 00:39:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Question about CheckRulesOnCurrentRow</title><link>http://forum.strataframe.net/FindPost7449.aspx</link><description>I have a BO on a form with a BBS. I have a DevExpress Grid connected to the BBS. When I edit information in the grid and then move to the next row the CheckRulesOnCurrentRow event isnt being fired. &lt;br&gt;
&lt;br&gt;
Is there another way that I should validate the data in the fields before i move to the next row?</description><pubDate>Tue, 13 Mar 2007 14:01:39 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Question about CheckRulesOnCurrentRow</title><link>http://forum.strataframe.net/FindPost7451.aspx</link><description>Thanks for the info.&amp;nbsp; And thats&amp;nbsp;a great idea about the HasBrokenRules field. ;)</description><pubDate>Tue, 13 Mar 2007 14:01:39 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Question about CheckRulesOnCurrentRow</title><link>http://forum.strataframe.net/FindPost7450.aspx</link><description>You can turn off the CheckCurrentRowBeforeNavigate property by setting it to false and that will turn off the checking of the rules before you navigate away from the row.&amp;nbsp; When you save, all of the rules will be checked, so on a grid where you always have multiple modified rows, I'm not sure you really need to check the rules before you navigate away from the record.&amp;nbsp; You can, of course, call a rules check whenever you feel like it by just calling CheckRulesOnRow().&lt;/P&gt;&lt;P&gt;When we use a grid, we also generally add a readonly bindable property called something like "HasBrokenRules" and hide the data column so that it doesn't show up in the grid.&amp;nbsp; Then, when the user tries to save, we have the grid either filter or sort on that column so that all of the records with broken rules get grouped together so the user can quickly see the records they need to fix to allow them to save and close the form.</description><pubDate>Tue, 13 Mar 2007 13:53:39 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>