trichview.com

trichview.support




Mail Merge with a multiline replacement


Return to index


Author

Message

Colin Messitt

Posted: 06/05/2003 0:00:08


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