View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
ToddC ToddC is offline
external usenet poster
 
Posts: 3
Default Word 2007 Form fields duplicate when updated/refreshed

I just discoved that the problem is 100% repeatable if you turn protection
off, modify text in the bookmark and then turn protection back on. I have
modified the steps to recreate the problem accordingly. Help is desperately
needed....

1. Create a new blank document
2. Type the text: This is a test
3. Select the text from step 2
4. Select Insert tab from ribbon bar
5. Select bookmark from Links section
6. Enter TEST for the bookmark name and then press the ADD button
7. Position the cursor below the bookmarked text
8. Select Quickparts from the TEXT section
9. Select field€¦
10. Choose Ref from the field names list
11. Choose TEST from the field properties bookmark name:
12. Click the OK button.
13. Select the Review tab from the ribbon bar.
14. Select the Track Changes from the tracking section
15. Change the revision to Final
16. Select Protect document from the protect section.
17. In the restrict formatting section, #2 editing restrictions check the
box €śallow only this type editing in the document€ť and choose €śFilling in
forms€ť from the dropdown directly below it.
18. In the restrict formatting section, #3 Start enforcement, press the
€śYes, start enforcing protection€ť button.
19. Click ok when prompted for a password.
20. Right click on the form field and select €śupdate field€ť
21. Again, right click on the form field and select €śupdate field€ť. Note
that the field does not update.
22. Turn the document protection off
23. Change the text contained within the book mark to €śThis is a test 2€ť
24. Turn the document protection on
25. Again, right click on the form field and select €śupdate field€ť. Now
note that the form field has duplicated itself.


"ToddC" wrote:

For this problem to occur, a document must be protected for forms and Track
Changes turned ON in €śFinal€ť display mode. Any {REF bookmark} form field
that is in the document will duplicate itself when the form fields are
refreshed. A refresh will occur when: printing, print previewing, right
clicking on the field and selecting update, or via a refresh command in a vba
script. Once Refreshed, the text of the form field will duplicate, causing
repeated text in the document.

This problem is intermittent, meaning that I can create a new document (via
the procedure outlined below) and sometimes the problem will occur and
sometimes it will not. Once a document has this problem, it will not go
away.

This problem seems similar to the problem outlined in KB119867, but that
article does not specify word 2007 as having this problem.

Steps to recreate problem:
1. Create a new blank document
2. Type the text: This is a test
3. Select the text from step 2
4. Select Insert tab from ribbon bar
5. Select bookmark from Links section
6. Enter TEST for the bookmark name and then press the ADD button
7. Position the cursor below the bookmarked text
8. Select Quckparts from the TEXT section
9. Select field€¦
10. Shoose Ref from the field names list
11. Choose TEST from the bield properties bookmark name:
12. Click the OK button.
13. Select the Review tab from the ribbon bar.
14. Select the Track Changes from the tracking section
15. Change the revision to Final
16. Select Protect document from the protect section.
17. In the restrict formatting section, #2 editing restrictions chek the box
€śallow only this type editing in the document€ť and choose €śFilling in forms€ť
from the dropdown directly below it.
18. In the restrict formatting section, #3 Start enforcement, press the
€śYes, start enforcing protection€ť button.
19. Click ok when prompted for a password.
20. Right click on the form field and select €śupdate field€ť
21. Again, right click on the form field and select €śupdate field€ť. You
will now see the duplicate problem.


Any help or suggestions is greatly appreciated!