Alternatively to the correct answer from @Ferrari_Julio, you can always do this:
mh.ItemsList.Delete(0);
mgr.Flush;
IF you you add TCascadeType.RemoveOrphan to the THeader.FItems
many-valued association. References:
Alternatively to the correct answer from @Ferrari_Julio, you can always do this:
mh.ItemsList.Delete(0);
mgr.Flush;
IF you you add TCascadeType.RemoveOrphan to the THeader.FItems
many-valued association. References: