Nested Field Code with Switch Problem (1 Viewer)

mr_fish

Registered User.
Local time
Today, 15:03
Joined
Dec 8, 2005
Messages
40
Hi all,

I'm trying to nest a date formatted MERGEFIELD with a switch within an IF THEN ELSE word field code. The quotation marks are causing the IF field to think the data ends just after the \@ and doesn't complete the merge. Does anyone know how to get round this? Code below, any help appreciated.


{IF {MERGEFIELD Page_Number } <>1 "" "{MERGEFIELD tbl_Coverage_Cover_Date \@"MMMM YYYY"}"}
 

mr_fish

Registered User.
Local time
Today, 15:03
Joined
Dec 8, 2005
Messages
40
Field code syntax is really annoying, after a bit of trial and error all that was missing was quotation marks around the nested fieldname. Code below

{IF {MERGEFIELD Page_Number} <> 1 "" {MERGEFIELD "tbl_Coverage_Coverage_Date" \@ "MMMM YYYY" }"}
 

Users who are viewing this thread

Top Bottom