> saveResult = Me.oAddress.Rules.CheckRules(Me.oAddress.DataSet, Me.oAddress.TableName, True) > > Select Case saveResult > Case mmSaveDataResult.RulesPassed > Return True > Case mmSaveDataResult.Exception > ' Do something > Return False > Case Else > ' Do something > Return False > End Select >Yes, there is a better way. If you call CheckRules() directly on the business object, it will automatically call CheckRules() on all child business objects and bubble all errors up to the parent business object. However, the mmBusinessObject.CheckRules() method is protected, so you need to create a public wrapper method on ABusinessObject in order to call this method directly. For example:
Public Function CallCheckRules() As mmSaveDataResult Return Me.CheckRules(Me, Me.DataSet, Me.TableName) End FunctionBest Regards,