WD2000: Leading Zeros Are Ignored in Number Form Field Format (253970)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q253970

SYMPTOMS

In a number form field format, leading zeros, other than the zero before the decimal separator, are ignored and do not appear in the field result.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack


WORKAROUND

To work around this problem, create an Exit macro for the form field, parse the input, and set the field result accordingly.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office 2000 Service Pack 2.

MORE INFORMATION

Steps to Reproduce the Problem

  1. In a blank new Word 2000 document, insert a Text form field.
  2. Double-click the form field.
  3. In the Type list, select Number.
  4. In the Number Format box, type 00.
  5. On the Tools menu, click Protect Document.
  6. Under Protect Document for, click to select Forms, and then click OK.
  7. In the form field, type 3, and then press TAB to update the form field.

    Result: The form field result is shown as 3 instead of 03.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbbug kbOffice2000preSP2Fix kbOffice2000sp2fix kbQFE KB253970