View Single Post
 
Old 04-09-2013, 07:17 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote