![]() |
#1
|
|||
|
|||
![]()
The condition that if the field contains two dashes ("--") do not print anything is working, however it leaves an empty/blank line. I'm missing some little item in the syntax.
{IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}"} Thank you for any suggestions. I read the very detailed document in the Sticky section, however it does not appear to cover this situation. \rtc |
#2
|
||||
|
||||
![]()
That's because you've left the paragraph break/line break that's creating the empty line outside the IF field. Instead of being constructed thus:
{IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}"}¶ tt should be constructed thus: {IF{MERGEFIELD Bus_Address_2}<> "--" "{MERGEFIELD Bus_Address_2}¶ "} Scenarios like this are actually dealt with in the Mailmerge Tips & Tricks thread, in the note under Mailmerge Empty Line Suppression
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
DIYman | Mail Merge | 1 | 03-07-2017 02:30 PM |
![]() |
BeerStud | Mail Merge | 1 | 11-28-2014 06:29 PM |
![]() |
Welshie82 | Mail Merge | 2 | 11-14-2011 01:41 AM |
delete blank pages from mail merge document | blusea | Word | 0 | 12-17-2010 06:10 PM |
![]() |
sieler | Word | 3 | 04-12-2009 01:38 PM |