locked form section, next section header locked too

G

Guest

I am developing a template composed of two sections. The first section is a
form which I locked. The second section is unprotected (i.e. section 1 is
protected, section 2 is not protected). However, I can not have access to
the section header which appeared to be locked as well. The header of
section 2 is not linked to the header of section 1. Is this a Word bug?
 
C

Charles Kenyon

Yes, this is a problem. It is by design and I don't know that I would
classify it as a bug.

When a document is protected for forms you cannot edit any headers or
footers, even in unprotected sections. You will need to unprotect your
document or figure out a different way to get the information into the
headers/footers. Often a REF field or a StyleRef field will do what you
want, picking up information from within the document and displaying it
in the header/footer.

What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customization/FillinTheBlanks.htm especially Dian
Chapman's series of articles.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Guest

Thank you Charles,
I believe that the best source of information you gave me is the first link
which led me to http://support.microsoft.com/kb/q212356/. Here, three
methods are proposed. However, I was not able to implement the first method
at all. Since, the field, which needs to be updated automatically, is in the
header, and since there is no way to include a form field in a header, the
second method does not apply. Finally, I was successful with the third
method but only for the part where the fields get updated automatically at
print time. I can not make it work in a way that the fields get updated
automatically upon exiting the form field. I tried both VBA programs that
are listed. I think that I tried everything, unless there is a particular
combination of check box to be checked under Tools/Options or somewhere else
hidden in the system.
Any suggestions,
Gery C. Fryns, PE
 
C

Charles Kenyon

A StyleRef field is usually close to instant in updating. Try creating a
character style for the fields you want to put the information in. (The
style need not contain any formatting.) Then use a StyleRef field. Form
fields do have bookmarks and will work with REF fields but it may take a
Print Preview or Print to get them to update. Make sure that if you use a
REF field that the text field you enter the information in is set to
"calculate on exit."
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Guest

Thank you for your reply. If I have to do a Print Preview to update the
fields that will be OK. Slightly separate issue. Now that I can update a
field in a header with information coming from my form, I would like to use
some IF statement. In other words I would like to see in this field
information coming from either of one of two fields depending on their
values. I worked on this issue in paralel with this question and I am
getting nowhere. I would appreciate if you look at the other ticket that I
placed in the same Work Category (i.e. Word General Question) under the
subject { IF (text4=â€â€,{ IF (text3=â€â€,{ IF (text2 signed by Gery Fryns as
well.
Thank you.
Regards,
Gery
 
G

Guest

Charles,
I would appreciate if you could provide some additional help on this question.
Again, I would like to use some IF statement. In particular, I would like
to see in one of my header field, information coming from either two fields
depending on their values. I tried these statements without success, indeed I
can never get the value of the bookmark.
Thank you in advance for your help.
Regards,
Gery C. Fryns

{ IF {REF Text8} = "" {Text8} {Text9}}
The result is Text8}

{ IF { Text8} = "" {Text8} {Text9}}
The result is Text8}

{ IF {Text8} = "" {Text8} {Text9}}
The result is {Text9}
 
C

Charles Kenyon

Sorry, don't have the time today to experiment. For a good example of IF
field structure take a look at
http://www.mvps.org/word/FAQs/Numbering/PageNumbering.htm.

{ IF "{REF "testpattern"}" = "{REF "checkpattern"}" "True text" "False
text" }

The above is the general pattern. The quotation marks in and around the REF
fields are seldom needed but I use them because it saves time debugging when
they are needed. Likewise, you can generally simply refer to a bookmark
directly without the explicit REF but I prefer to be explicit. You can see
an example of a very complex field containing nested IF fields (that works)
at http://addbalance.com/word/datefields2.htm.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Guest

Thank you for your response. I made progress. Indeed I realized that I need
to do a CTRL 9 to get the curly parenthesis. I am one step closer. I still
have the hurdle about testing the blank field. I tried several things, but
it always display the False Text. I tried "", " ", up to 5 space " ".
Here is my latest statement.
{ IF { { REF Text18 } = " " } { REF Text24 } { REF Text18 }}

What is wrong with this statement?
Thank you.
Regards,
Gery C. Fryns, P.E.
 
C

Charles Kenyon

Again, I use the quotation marks. Try it.

BTW, I would name your fields something more meaningful than "Text18" and
"Text24."
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 

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