>>Hi,
>>
>>I have some code:
>>
>>
mmSaveDataResult result = this.Save(this.oClient);
>>
>>and the result ends up as "SaveCanceled". Why would this happen and how do I work out what is causing it?
>
>You probably need to step through the HookPreSave and through the rules. I usually find that it's either a business rule I've forgotten about or a typo in the rule logic when I have these problems.
unfortunately I'm not sure what it was but it went away when I fixed another problem. It wasn't the rules or the presave though.
thanks