Microsoft KB Archive/249858

= WD2000: Incorrect Bookmark Names for Form Fields in Vertical Table Cells =

Article ID: 249858

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q249858



SYMPTOMS
When you insert forms fields into Word table cells and then change the text direction to vertical, the Form Field Options dialog box does not display the correct bookmark names for the form fields. Instead, it displays the same name for all vertical form fields, Text, where  stands for a number that is at least the count of the form fields in the document, incremented by 1.

If you change the form field options for one of the vertical form fields, the number of the form field is again incremented.

When you give user-defined names to the vertical form fields instead of the predefined Text names, these also are changed to a name of the form Text, if you modify the form field orientation.



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, use one of the following methods.

Method 1
Do not change the form field options after you change the text direction of the cells that contain the form fields to vertical.

Method 2
Create a FormFieldOptions macro that stores the bookmark name before calling the Form Field Options dialog box and resets the bookmark name afterward.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

Sub FormFieldOptions

mybookmark = Selection.Bookmarks(1).Name Dialogs(wdDialogFormFieldOptions).Show Selection.Bookmarks(1).Delete Selection.Bookmarks.Add mybookmark

End Sub



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.



Steps to Reproduce Problem

 * 1) Start Word 2000, and open a new blank document.
 * 2) Insert a 2x3 table.
 * 3) In each of the cells, insert a Text form field.
 * 4) Double-click each form field in the first row to see the bookmark name for each field: Text1, Text2, and Text3.
 * 5) Select the first row.
 * 6) On the Format menu, click Text Direction.
 * 7) Select one of the vertical text orientations, and then click OK.
 * 8) Double-click each form field in the first row again, and view the bookmark names.

Result: All three form fields are now referenced by the same bookmark name, Text7.
 * 1) Make a change in the dialog box for the first form field in the first row. For example, double-click the first form field, set the Text Format to Uppercase, and then click OK.
 * 2) Double-click any of the form fields in the first row again.

Result: The name of the bookmark for the form field has changed from Text7 to Text8.
 * 1) Select the form field that you modified in step 9.
 * 2) On the Insert menu, click Bookmark. Determine which bookmark name is displayed and selected.

Result: The name of the individual form field, as displayed in the Bookmark dialog box, has changed from Text1 to Text7.

Additional query words: word2000 word20 wd2000 wd2k textformfield book mark problem QFE

Keywords: kbbug kbfix kboffice2000sp2fix kbqfe KB249858

-

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

© Microsoft Corporation. All rights reserved.