Broken Rules


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Is there a way to turn off checking broken rules (not at the form level).  I turned off CheckCurrentRowBeforeNavigate but it didn't seem to have any effect.  I can certainly create a property in the business object for this but wanted to know if something already existed.

Thanks

Tim

Reply
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
The easiest way I can think of is to set the IgnoreRuesAndForceSave to True on the business objec'ts BusinessRulesChecked event. So on the business object itself:

Private Sub MyBO_BusinessRulesChecked(ByVal e As MicroFour.StrataFrame.Business.BusinessRulesCheckedEventArgs) Handles Me.BusinessRulesChecked
   e.IgnoreRulesAndForceSave = True
End Sub

Hope it helps Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search