View Single Post
 
Old 04-30-2013, 12:19 PM
sbarron76 sbarron76 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Apr 2013
Posts: 7
sbarron76 is on a distinguished road
Default Date format switch with If statement

Good afternoon. I am having an issue with a date format in an IF statement. The date format will not change to the French date format i have noted in the switch. The switch works for all standalone mergefields in the document but not within the IF statement. Here is the statement:

{IF{MERGEFIELD spouse_name}<> "" "
Conjoint(e): {MERGEFIELD spouse_name }
Date de naissance due (de la) conjoint(e): {MERGEFIELD spouse_dofb \@"d MMMM yyyy"}" ""}

The IF statement works, if the spouse name is populated the field shows. And likewise doesn't if there is no spouse name. But the format of the date is not changing. Does the switch have to be placed somewhere else in the IF statement to work?


Your help would greatly be appreciated!






Reply With Quote