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!

RE: Update TOC that contains text form fields --- Data Deleted? by RITZ

RITZ
Thu May 24 11:52:01 CDT 2007

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

"spooze27" wrote:

> 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!

RE: Update TOC that contains text form fields --- Data Deleted? by spooze27

spooze27
Thu May 24 12:11:05 CDT 2007

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.

"RITZ" wrote:

> 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
>
> "spooze27" wrote:
>
> > 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!

RE: Update TOC that contains text form fields --- Data Deleted? by david

david
Thu May 24 13:26:00 CDT 2007

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
--
Windows XP, Word 2000