StrataFrame Forum

Broken Rule problem

http://forum.strataframe.net/Topic12749.aspx

By Vikram Saxena - 11/18/2007

hello

I have a form on which i have different control like text box and all. If i fill the form or edit something on the form and press the save button, then if there is any broken rule exists on the form then all the values get deleted .

Means A broken rule undo all the changes which i had made recently.

Thats  horrible thing as just a sily mistake of user can cause a loss of the data.

So it should not save the value if there is any broken rule but at the same time it should not delete the value.

thanks

By Ivan George Borges - 11/19/2007

Hi Vikram.

That's not the normal behaviour. Isn't there anything different going on in your BO CheckRulesOnCurrentRow event?

By Trent L. Taylor - 11/19/2007

Vikram,

Just to add to Ivan's post, you must have some other logic within your form causing this behavior.  Is sounds as though you are handling a BeforeSave or Navigating event (or something along those lines) and must be either trying to create a new record, move the record, enumerating the fields and clearing them, etc.  The framework itself is not going to behave in this fashion.