![]() |
|
#1
|
||||
|
||||
![]() Hi JennEx, Your IF field has { IF {MERGEFIELD ALtStaffEnd}="X" """". You need to insert a space after the '=' The four double quotes also account for both the TRUE and FALSE results. Delete two. Alternatively, change the code to { IF {MERGEFIELD ALtStaffEnd}<> "X" {QUOTE .... Also, having an X in the data source, along with times, may result in the 'X' records being evaluated as 0. Recall our earlier discussion of having mixed data types. You need to test the output with just {MERGEFIELD ALtStaffEnd} to see what you're getting in each case.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Switches | ilovemypuppy | Word | 2 | 02-08-2012 04:28 PM |
![]() |
cksm4 | Word VBA | 2 | 02-03-2011 07:21 AM |
Mail merge switches | Jan Collier | Mail Merge | 0 | 08-29-2010 06:06 AM |
Command Line Switches | Ringmaster | Office | 0 | 08-10-2010 06:27 AM |
Help with switches: Word mail merge with Excel | ks_ | Mail Merge | 0 | 12-09-2009 05:09 PM |