There is another function that backs up a de-normalised vertsion of the data in an archive. I am resetting the tables for a new cycle. I'll give your approach a try, thanks
>When you say migrated I assume you mean backed up and not moved out of item permanently
>So I offer you the following assuming the field names/datatypes are the same.
>
>
>use olditem excl
>if notkeepinghistory
> zap
>endif
>append from item
>