trichview.com

trichview.support




Re: Mail Merge with a multiline replacement


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/06/2003 22:06:29


You can use MailMerge2 demo as an example. It replaces text items with RVF.


If this is not convenient for you, I can explain how to insert multiline

text using undocumented methods.


> We want to be able to do a mailmerge where the replacement for one of the

> fields may be multiple lines, separated by #13#10.  (It's actually an

> address, could be two lines, could be five).

>

> Obviously I can't simply use RVData.SetItemText(i, ReplacementText) like

in

> the mailmerge demo.

>

> How would I do this? I thought of doing SetItemText for the first line and

> then somehow inserting the subsequent lines at that point, but I can't see

> how to do that. I also wondered how to make sure the additional lines got

> the same attributes (bold, italic, colors etc.) as the first line had.

>

> Thanks,

>

> Colin.

>

>

>





Powered by ABC Amber Outlook Express Converter