Update TOC that contains text form fields --- Data Deleted?

S

spooze27

I have a WORD 2003 document with lots of checkboxes and text form fields.
When I try to update (Select All, then F9) my TOC and LOF/LOT, all the data
in the text form fields is lost. Is there a way around that? Checkboxes
stay checked. This happens whether I say "update all" or "update only page
numbers". Thanks!
 
R

RITZ

You may have to post your code here. My guess is it is something to do with
putting reset = FALSE when protecting the form again
 
S

spooze27

Thanks. I am not a programmer, so I don't know where to find the code you
mentioned. But I think your answer is pointing me in the right direction. I
suspected something simple like an "Update-Yes or No" situation. Where can I
find the "reset" information and I will post it in a following note.
 
B

Bear

Poster:

If you are using formfields, whever you manually unprotect and then
reprotect the document, the values of the each formfield is reset (to the
defined default value).

You can avoid this, but only by using VBA.

The "correct" way to preserve the formfields is to put them in a separate
section. Protect the document for forms, but select only that section. This
leaves other sections of the document unprotected -- and you can edit them or
update fields or spell check or whatever you need to do in the unprotected
sections, without impacting the entered values in your formfields.

Bear
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top