Microsoft KB Archive/41280

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:22, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q41280 to Microsoft KB Archive/41280 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Word: Print Merge SET and ASK Allowed Only Once Per Variable

PSS ID Number: Q41280 Article last modified on 03-07-1997

====================================================================== 3.00 3.01 3.02 4.00 5.00 5.10 MACINTOSH kbprint

The information in this article applies to:
- Microsoft Word for the Macintosh, versions 3.0, 3.01, 3.02, 4.0, 5.0, 5.1

SUMMARY

Word versions 5.0 and later do not support the use of the print merge instructions SET and ASK when used to change the value of a user-defined field previously assigned by a SET or ASK statement.

In Word version 5.0, the use of a SET or ASK statement to change the value of a field that was previously set by a SET or ASK statement will sometimes work correctly and will sometimes cause the values of other fields to change randomly. In Word version 5.1, resetting a field with a SET or ASK statement does nothing.

This functionality was allowed in Word versions 3.0x and 4.0 although it was against the intended use of the feature and was not documented. The documentation states that a SET statement is to be used when the variable is intended to remain the same for the duration of the merge. An ASK statement is to be used when the value of the variable is to be entered by the user each time a record is merged from the data document.

Word versions 3.0x, 4.0, 5.0, and 5.1 do not have a feature designed to assign a value to a variable at any given time.

KBCategory: kbprint KBSubCategory: kbmerge Additional reference words: macword macword5 calculate math addition plus subtraction minus multiplication division times multiple 3.00 3.01 3.02 4.00 5.00 5.10 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.