Richtext Mail Merge Question
I'm using the richtext mailmerge to print letters based on a
name/address datasource. Some addresses have 4 lines (name, adr1,
adr2,city st zip) while others have only three lines of text
(name,adr1,city st zip). Is there anyway to suppress the blank line
in those letters that only have three lines of text?
Thanks
Craig
name/address datasource. Some addresses have 4 lines (name, adr1,
adr2,city st zip) while others have only three lines of text
(name,adr1,city st zip). Is there anyway to suppress the blank line
in those letters that only have three lines of text?
Thanks
Craig
This discussion has been closed.
Comments
Unfortunately there is no built-in way to "squeeze" a mail merge RichText.
You may however be able to check the field value inside the
DetailBand.BeforePrint event and if a certain value is null, edit the
RichText manually using the SelText property to temporarily remove one of
the field tags from the rtf code. This is possible using a TppMemo
component rather than a RichText.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com