Hi AllI am having problems with the BeforeDelete and AfterDelete events not firing. I have tried setting it up both of the ways shown below.
Private Sub MemberFamily_AfterDelete(ByVal e As MicroFour.StrataFrame.Business.AfterDeleteEventArgs) Handles Me.AfterDelete Call Me.SetIncomplete()
End Sub
and as
AddHandler Me.CheckRulesOnCurrentRow, AddressOf MemberFamily_AfterDelete (in the constructor)Private Sub MemberFamily_AfterDelete(ByVal e As MicroFour.StrataFrame.Business.AfterDeleteEventArgs) Call Me.SetIncomplete()
End Sub
When I put a breakbpoint on Call Me.SetIncomplete() it is never reached.
I have quite a bit of code in other events (specifically CheckRulesOnCurrentRow, SetDefaultValues and the AfterSave which is setup with an inline Handles Me.AfterSave) which works just fine. I am deleting the records using DeleteByPrimaryKey(FamilyMemberID) and the records are deleting successfully.