Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2006

Tip: Looking for answers? Try searching our database.

If statements and blank lines

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max - 24 Aug 2006 22:26 GMT
Would like to have some If statements where if Value1=0, then Field1 does not
print and blank line is suppressed.

What I have now is {IF {MERGEFIELDValue1}=0 "<<Field1>>"} and this does not
seem to be working.

Thanks in advance.
Doug Robbins - Word MVP - 25 Aug 2006 04:42 GMT
{ IF { MERGEFIELD Value1 } = 0 "{ MERGEFIELD Field2 }" "{ MERGEFIELD
Field1 }[Enter]
{ MERGEFIELD Field2 }" }

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Would like to have some If statements where if Value1=0, then Field1 does
> not
[quoted text clipped - 5 lines]
>
> Thanks in advance.
Max - 25 Aug 2006 23:06 GMT
Doug,
That does help.  How do I get the [Enter] into the expression - do I just
type it or is there somewhere I can select it from?  Also, can I do TAB the
same way?
Thanks in advance.

> { IF { MERGEFIELD Value1 } = 0 "{ MERGEFIELD Field2 }" "{ MERGEFIELD
> Field1 }[Enter]
[quoted text clipped - 9 lines]
> >
> > Thanks in advance.
Doug Robbins - Word MVP - 26 Aug 2006 06:56 GMT
Just use the respective keys on the key board for the [Enter] or a [Tab]

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Doug,
> That does help.  How do I get the [Enter] into the expression - do I just
[quoted text clipped - 17 lines]
>> >
>> > Thanks in advance.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.