IF vartype(oChildbizobj) = 'O' IF oChildBizobj.Save() = FILE_OK lcChildID = v_childview.childID llContinue = .t. ELSE oChildBizobj.Cancel() ENDIF IF llContinue REPLACE v_primaryview.value WITH lcChildID IF THIS.SAVE <> FILE_OK This.Cancel() ENDIF ENDIF ENDIFAnother option would be to wrap everything in a transaction on the form level and switch out bizobjects as you need them.