trichview.com

trichview.support




Re: Mail Merge with a multiline replacement


Return to index


Author

Message

Colin Messitt

Posted: 06/07/2003 20:46:11


RVF isn't really that convenient. I'd be very grateful if you could explain

the alternative. The multiline data is coming across the COM boundary

effectively as a string divided by #13#10. A quick and easy way to do it

without having to first construct an RVF would be most welcome.


Thanks,


Colin.



"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3ee0f016$1@support.torry.net...

> 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