New MultiFields in Word Document

Hi, is it possible to add a 2nd (and maybe a 3rd) MultiField in the Codeunit WordManagement to transfer it to a new Form Letter in Word? I tried it but it didn´t work… Regards Bastian

Yes, It is possible. But ypu must Add your New Field in all Functions. In Func. CreateHeader() you must also modify the Source-Code at the end. // Mergesource must be at least two lines IF MergeFieldsOnly THEN BEGIN // FOR I := 1 TO 47 DO // UT-Ro 2004.01.10 Original FOR I := 1 TO 55 DO AddField(’’); WriteLine; CloseFile; END; Also there is a Limit to max. 55 I hope this will help you. Ingo

Hi Ingo

Do you have an example where it works? I have a problem with attaching the field to word. My email adress is mogens.faber@ofir.dk

Thanks Mogens