You are generally always better of only saving records from a single location...for example, the parent form. But in any case, you could do this to check the rules:If MyBo.CheckRules(True) Then
DialogResult = OK
End If
Then on the Parent form you will look to see what the results of the Dialog were and take appropriate action. If you are using the ListView then handle the ChildFormResults event, but if you are calling the ChildFormDialog directly, the logic would be the same, but just be wrapped around the ShowDialog.
If MyChildDialog.ShowDialog() = OK Then
'-- Reload the list view, for example
lstMyList.Requery()
Else
'-- Undo the changes
MyChildBo.Undo(CurrentRowOnly)
End If
It would look something like that.