Hi J,
You did not misunderstand at all, this was exactly what I was looking for. Thanks a lot!
Regards
-Filip
>Maybe I'm misunderstanding, but I thought you were looking for a way, from inside the rules object, to access the related business object?
>
>If so, HostObject stores a reference to the object that instantiated the mmBusinessRule object (look at mmBusinessRule's constructor). This object implements the ImmBusinessRuleHost interface, and is of either mmBusinessObject or mmBusinessEvent type.
>
>In your case, when your business object instantiates its rules object, it can then access the HostObject field to get a reference to the business object:
>
>//This code would be in your rules class.
>YourBizObj YBO = this.HostObject;
>
>//You should have intellisense now...
>YBO.YourCustomMethod();
>
>
>Hope that clears the issue up a little,
>---J