Thread: [Solved] IF in field codes?
View Single Post
 
Old 09-15-2016, 01:01 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default IF in field codes?

Code:
{ IF SAVEDATE="" DATE SAVEDATE  \@ "yyyy/MM/dd" }
If I want to:

If SAVEDATE is nothing (i.e. the document has not yet been saved), it should show today's date while if SAVEDATE is available (i.e. the document has been saved), the savedate codes should follow the format "yyyy/MM/dd".

But the field codes in quotes return nothing. What should I do to fix it?

Many thanks!
Reply With Quote