Converting text to an attachment

Hi, I want to transform the text in a richtext field to an attachment and it should be saved with a given name.The attachment should be saved in that document itself.Can anyone suggest me how to write a code using lotus script.Can anyone help me out.

regards,

Rekha

Subject: Converting text to an attachment

Check Notes help, there are examples there on how to open a text file and populate it. There are also commands to then attach it to your document.

Subject: Converting text to an attachment

Ok