DocErr: Online Help Shows SET Field IncorrectlyLast reviewed: February 5, 1998Article ID: Q117696 |
6.00 6.00a 6.00c
WINDOWS
kbusage kbdocerr
The information in this article applies to:
SUMMARYThe Word 6.0 for Windows Readme Help file incorrectly shows the following sample SET field:
{if {mergefield state} = "CA" {set phone "1-415-555-1234"} {set phone "1-415-555-4237}}Help ought to show:
{set phone {if {mergefield state} = "CA" "1-415-555-1234" "1-415- 555-4237"}}The first example is wrong because fields update from left to right, and from the inside to the outside. When two fields are placed inside an IF field, the left-most field is updated first, and its result is replaced by the second field. Thus, the IF field will use the most recent value of the SET field. For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q97791 TITLE : SET Fields Within IF Field Evaluate Incorrectly |
KBCategory: kbusage kbdocerr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |