![]() |
|
|
|
#1
|
||||
|
||||
|
Quote:
Quote:
The field code I provided works because the condition being tested can have its results expressed numerically and, therefore, the numeric picture switches that can be used to format numbers can be coerced into providing the required output. Numeric picture switches cater for +ve, -ve and 0 values to be formatted differently. As you can imagine, things can start getting complicated when there are more than three possible outcomes... The same field construction will work in an ordinary document; the difference being that nothing inside a QUOTE field or IF field gets converted to its results. That's an important limitation because it means tests of volatile values, such as dates, don't become fixed the way they would with a mailmerge. That, in turn, could give invalid results on another day, for example.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Quote:
Thanks again, your input is greatly appreciated. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copying Raw Field Codes | ptmuldoon | Word | 3 | 01-04-2015 02:50 PM |
How to hide field codes from others?
|
lucky16 | Word VBA | 2 | 10-24-2014 03:52 AM |
| VBA script to update field codes? | Calab | Word VBA | 1 | 04-07-2014 09:27 PM |
| Formula Field using Field Codes | hunter2193 | Word | 3 | 04-05-2013 04:58 AM |
Word Equation field codes
|
mkarthic | Word | 1 | 12-02-2011 02:09 AM |