Supress blank Printdate

G

Guest

Hi

Is there a way to hide a zero printdate when using it as a field in the
pagefooter.
I have tried to use the If statement in the fieldcodes but I don't seem to
get it right.

Any example of supressing a zero printdate is appreciated.

Thanks in advance
 
G

Graham Mayor

You could use something like

{ IF { Printdate \@ "yyyy"} <> "0" "{ PrintDate \@ "d MMM yyyy" }" "Not
printed"}

The "Not printed" bit is optional
The curly brackets are placed with CTRL+F9

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top