WD97: Nested Calculations Updated Incorrectly (International)

Last reviewed: July 31, 1997
Article ID: Q168852
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

If you have a nested U.S. field that is dependant on regional system settings for parsing the field, then the field may generate a syntax error when the field is updated on a computer with non-U.S. regional system settings.

CAUSE

Some fields rely on certain regional settings. For example, the most common cause of this problem is if there exists a difference between the decimal symbol and the digit-grouping symbol.

WORKAROUND

To work around this problem, either change the regional settings to make the field work correctly, or edit the field so that it contains the correct symbols.

To find or change the regional settings, follow these steps:

  1. On the Windows taskbar, click Start, point to Settings, and click Control Panel.

  2. Double-click Regional Settings.

  3. Click the Number tab.

The decimal symbol setting and the digit grouping symbol setting are located in this dialog box.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Certain regional settings are used when Microsoft Word 97 attempts to parse the field during the field update. Examples of these settings are Decimal Symbol and Digit Grouping Symbol.

Decimal Symbol identifies the character that is used to indicate decimal values. In the U.S., this symbol is a decimal point, as in the following example:

   12.5 (to indicate twelve and one-half)

Digit Grouping Symbol identifies the character that is used to group the digits in large numbers. In the U.S., this symbol is a comma, as in the following example:

   100,000 (one-hundred thousand)

In certain types of nested fields, you receive a syntax error if you move a document from a computer using U.S. settings to a computer using non- U.S. settings.

The following field will generate a syntax error if it is created on a computer using U.S. regional settings and then opened on a computer using non-U.S. regional settings:

   {=sum{1,2,3} }

On a computer with U.S. regional settings, the comma is used to separate the 1, 2, and 3, indicating that they should be added together. On a computer with non-U.S. regional settings, such as Brazilian settings, the comma is used as a decimal symbol, making the field invalid.

REFERENCES

For more information about regional settings and Microsoft Word 97, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE ID: Q135285
   TITLE: WD: Value Entered Does Not Match with the Specified Type

   ARTICLE ID: Q113185
   TITLE: WD: Cannot Use Some US-International Key Combinations in Word

   ARTICLE ID: Q81059
   TITLE: Err Msg: "! Invalid Character Setting" in Expression Field

   ARTICLE ID: Q151913
   TITLE: Decimal Character Appears as a Comma

   ARTICLE ID: Q150620
   TITLE: Error Message Changing the Default Language

   ARTICLE ID: Q116252
   TITLE: 3/2 Currency Grouping Not Available in Windows 95
Keywords          : kbfield word97 kbusage
Version           : 97
Platform          : WINDOWS
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 31, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.