Here's a trick I have used in the past - it may work for you.
1) In your script delete all items from your source doc that you don't want i.e. leave only body and possibly $file fields. (Don't save this!) Remember that there may be multiple body fields.
2) Use doc.CopyAllItems to copy this stripped down source doc to your target doc. (The Lotus documenation is abiguous as to which NotesDoc is the target doc. You may have to try both ways.) Of course "Replace" must be false.
Jake,
Here's a trick I have used in the past - it may work for you.
1) In your script delete all items from your source doc that you don't want i.e. leave only body and possibly $file fields. (Don't save this!) Remember that there may be multiple body fields.
2) Use doc.CopyAllItems to copy this stripped down source doc to your target doc. (The Lotus documenation is abiguous as to which NotesDoc is the target doc. You may have to try both ways.) Of course "Replace" must be false.
Regards,
Chris