Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
JAnderson JAnderson is offline
external usenet poster
 
Posts: 21
Default If statement questions

I'll try to be clear here. Two questions.

1) I want a boolean operator in an IF statement, is this possible? Example:

{if{MERGEFIELD "MAT_Movie"}= €śRain*€ť "(true)" "(false)"}

I want to catch all fields that begin with "Rain", such as "Rainy" "Rain
Man", etc.

2) THEN, for the true condition, I want to have an entire formatted page
appear (such as a generic order form). If false, I'd like to leave it blank
and NOT include the order form. Can I just paste the entire page I want into
the true condition "" quotes? Otherwise, would I have to reference a file to
import at that space?

Thanks in advance for any suggestions!
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default If statement questions

Answered in another forum - please don't multi-post.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


JAnderson wrote:
I'll try to be clear here. Two questions.

1) I want a boolean operator in an IF statement, is this possible?
Example:

{if{MERGEFIELD "MAT_Movie"}= "Rain*" "(true)" "(false)"}

I want to catch all fields that begin with "Rain", such as "Rainy"
"Rain Man", etc.

2) THEN, for the true condition, I want to have an entire formatted
page appear (such as a generic order form). If false, I'd like to
leave it blank and NOT include the order form. Can I just paste the
entire page I want into the true condition "" quotes? Otherwise,
would I have to reference a file to import at that space?

Thanks in advance for any suggestions!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement Sawlmgsj Mailmerge 1 November 12th 07 09:25 AM
which statement right , question is Choose the correct statement? how many template?when we click new doc Microsoft Word Help 1 October 16th 06 11:15 AM
which statement right , question isChoose the correct statement? how many template?when we click new doc Microsoft Word Help 1 October 15th 06 11:20 PM
using iif statement Boots Mailmerge 3 June 19th 06 03:23 PM
How can I? If statement ? Buttercup Mailmerge 2 November 23rd 05 06:49 PM


All times are GMT +1. The time now is 04:45 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"