View Single Post
 
Old 06-02-2019, 04:17 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Your field construction is wrong. It should be:
{ if { MERGEFIELD r2_srl }<> "" "{MERGEFIELD r2_srl \@ "h:mm"}-{MERGEFIELD r2_sru \@ "h:mm"}P"}

My own preference would be:
{IF{MERGEFIELD r2_srl}<> "" "{MERGEFIELD r2_srl \@ "hh:mm AM/PM"}-{MERGEFIELD r2_sru \@ "hh:mm AM/PM"}"}
so the AM/PM display is correctly set by the fields themselves.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote