R
Roberto Villa Real
In Word 2000 or 97, the following fields used to work fine, even INSIDE THE
PAGEHEADER:
{if
{DOCVARIABLE X \ *MERGEFORMAT} <>"." (condition)
{QUOTE {DOCVARIABLE X \*MERGEFORMAT} \@ "dd/mm/yy" \*MERGEFORMAT} (show this
if true)
{DATE \@ "dd/mm/yy" \*MERGEFORMAT} (show this if False)
}
If the variable X is ".", the fields show the actual Date.
If X is different (like X ="01/06/2005"), the fields show X in "dd/mm/yy"
format (so the result would be "01/06/05")
But (only) in Word 2003, and (only) if these fields are in the pageheader
(or footer), it simply show NOTHING when the condition is false (it should
show the Docvariable X in "dd/mm/yy" format)...
I´ve tested several other simplier IF fields in the pageheader, and they
result in "" (blank) only in Word 2003. Can someone help?
PAGEHEADER:
{if
{DOCVARIABLE X \ *MERGEFORMAT} <>"." (condition)
{QUOTE {DOCVARIABLE X \*MERGEFORMAT} \@ "dd/mm/yy" \*MERGEFORMAT} (show this
if true)
{DATE \@ "dd/mm/yy" \*MERGEFORMAT} (show this if False)
}
If the variable X is ".", the fields show the actual Date.
If X is different (like X ="01/06/2005"), the fields show X in "dd/mm/yy"
format (so the result would be "01/06/05")
But (only) in Word 2003, and (only) if these fields are in the pageheader
(or footer), it simply show NOTHING when the condition is false (it should
show the Docvariable X in "dd/mm/yy" format)...
I´ve tested several other simplier IF fields in the pageheader, and they
result in "" (blank) only in Word 2003. Can someone help?