Article ID: 187816 - Last Review: October 11, 2006 - Revision: 3.1 WD98: How to Update Fields in a Protected FormThis article was previously published under Q187816 For a Microsoft Word 2003 and Microsoft Word 2002
version of this article, see
291474
(http://support.microsoft.com/kb/291474/
)
. For a Microsoft Word 2000 version of this article,
see
212356
(http://support.microsoft.com/kb/212356/EN-US/
)
. On This PageSUMMARY Fields in a document protected for forms may not be updated
when you fill out the form. This article describes four methods you can use to
update regular fields or automatically insert and update the result of one form
field into another area of a form. MORE INFORMATIONMethod 1: Use the "Calculate On Exit" OptionIn Microsoft Word 98 Macintosh Edition, form fields include a "Calculate on exit" option. When you enable this option, fields and form fields can be updated in a protected form document. Fields not updated by this switch include:TOC PAGE INDEX PAGEREF 180686
(http://support.microsoft.com/kb/180686/EN-US/
)
WD98: How to Use Calculate on Exit in a Forms Document
Method 2: Use a MacroMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers 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 requirements. The following macro can be used as an on-exit macro for the first form field called "Text1" so that the information entered into this field will automatically appear in the form field called "Text2." Alternatively, the macro can be used as an on-entry macro for the second form field called Text2. When you tab to this second field, the result of the first form field is placed automatically as the field result of this second field.For each field that receives the information automatically, clear the Fill- In Enabled check box in the Text Form Field Options dialog box. This minimizes the chance of accidentally modifying the field result. Method 3: Reference a Form Field Entry Elsewhere in a DocumentThere may be times that you may want to reference a form field entry elsewhere in a document.To repeat a form field entry using a reference field, follow these steps:
Method 4: Place the REF Field in an Unprotected Section of the DocumentIf you choose this option, the macro will update the fields in the unprotected section or you can create a separate exit macro to go to that specific field and update it.To place REF fields in unprotected sections of your document, follow these steps:
114237
(http://support.microsoft.com/kb/114237/EN-US/
)
WD: REF Field Creates Duplicate Drop-Down List in Protected Form
| Article Translations
|

Back to the top
