Microsoft KB Archive/122650

= WD: Hyphens (Dashes) Not Displayed in Form Field Number =

Article ID: 122650

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh

-



This article was previously published under Q122650



SYMPTOMS
When you modify a text form field's number format to include hyphens, the hyphens are not displayed in the form field result.

For example, if you want to format a form field to display a phone number formatted as   206-555-1234 using the number format   ###-###-#### the result is:   206 555 1234.



WORKAROUND
To work around this problem, use the appropriate method for your version of Word.

Word for the Macintosh
Press OPTION+HYPHEN.

Word for Windows
Modify the number format of the form field using any of the following methods. (To locate the Number Format option, unprotect your formfield document and double-click the form field.)

Method 1:

Place apostrophes around the hyphens.

Method 2:

Enter the hyphen using ALT+0173. You must type the 0173 on the numeric keypad.

Method 3:

Press CTRL+Num Pad HYPHEN.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Word 97 and Word 98 Macintosh Edition.



MORE INFORMATION
You can edit form fields in Word by double-clicking the form field. In the text form field dialog box, click Number in the Type list and type the correct number format in the Number Format box.

NOTE: If you try to round-trip through the form fields, you may get the following error message, and the insertion point does not move to the next form field:

A valid number is required.

You must retype the number to exit the field.

Additional query words: number format switch form field formfield forms hyphen dash doesn't display blank numeric

Keywords: kberrmsg kbbug kbfix kbfield KB122650

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.