#1
|
|||
|
|||
Microsoft Quick Parts IF function issue
I am trying to get the IF function to work in my RTF printout via quickparts. I need to base this IF off of another Mergefield and I cannot figure it out. Here is what I have :
IF { MERGEFIELD RegistrantNumber } = "123" "YAY" "NAY" I go into the application I am using and enter "123" for the Registrant Number field. When the RTF is generated this is what displays IF 123 = "123" "YAY" "NAY" I need it to show YAY if the field is 123 and NAY if it is not. |
#2
|
||||
|
||||
The IF test needs to be enclosed in a pair of field braces, thus:
{ IF { MERGEFIELD RegistrantNumber } = "123" "YAY" "NAY" } To do that, select your current 'IF' test and press Ctrl-F9 - you can't type the braces.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
if then else, mailmerge, quickparts |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sharing Quick Parts | katrinao | Word | 3 | 03-04-2016 07:44 AM |
Quick Parts Fields? | brucemc777 | Word | 2 | 02-16-2016 12:57 PM |
Quick Parts, Fill-In | FFT | Word | 2 | 08-12-2014 05:49 AM |
Quick Parts | tmneal74 | Word | 1 | 11-13-2012 06:04 PM |
Quick parts in doc file | alokmay | Word | 1 | 06-14-2011 04:46 PM |