Hi, I know this prom and it's in prodlog. It depends on the way you've compiled your classes in case of relationships. The global may look like:
^ParentD(ID)=Parent Data ^ParentD(ID,"Children")=Counter ^ParentD(ID,"Children",Counter) =Child Data If you save your parent and it fails and cause a rollback the counter of the children will still be there ($Increment feature). Regards, Christian
