Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
kscorbet kscorbet is offline
external usenet poster
 
Posts: 2
Default Styleref works in all headers but first

I have a protected form and I used STYLEREF to plug the contents of one of
the form's fields into the page header. However, it goes into all the
headers but the one on the first page (which was the one I applied it to). I
do not have Different First Page set anywhere. It does work in all page
headers if I unprotect the document. This is Word 2003. Any ideas?

- Kelly
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Styleref works in all headers but first

If a StyleRef field is blank on the first page it can sometimes be because
an empty paragraph has become formatted in the referenced style. This can be
easy to miss in a table, where rows can be set to an exact height and text
that doesn't fit may be hidden from the user but still visible to Word.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"kscorbet" wrote in message
...
I have a protected form and I used STYLEREF to plug the contents of one of
the form's fields into the page header. However, it goes into all the
headers but the one on the first page (which was the one I applied it to).

I
do not have Different First Page set anywhere. It does work in all page
headers if I unprotect the document. This is Word 2003. Any ideas?

- Kelly


  #3   Report Post  
Posted to microsoft.public.word.pagelayout
kscorbet kscorbet is offline
external usenet poster
 
Posts: 2
Default Styleref works in all headers but first

That appears to have been it... not that I found the empty paragraph in
question, but I recreated it from the beginning and it now works.

My next question is whether you can get it to work with new headers that get
created during entry of data into the form? There is a section that is
unprotected where free text is allowed and if enough is entered to create a
new page, the header on that page does not contain the desired data via
STYLEREF.

- Kelly


"Suzanne S. Barnhill" wrote:

If a StyleRef field is blank on the first page it can sometimes be because
an empty paragraph has become formatted in the referenced style. This can be
easy to miss in a table, where rows can be set to an exact height and text
that doesn't fit may be hidden from the user but still visible to Word.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"kscorbet" wrote in message
...
I have a protected form and I used STYLEREF to plug the contents of one of
the form's fields into the page header. However, it goes into all the
headers but the one on the first page (which was the one I applied it to).

I
do not have Different First Page set anywhere. It does work in all page
headers if I unprotect the document. This is Word 2003. Any ideas?

- Kelly



  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Styleref works in all headers but first

The way StyleRef fields work by default is that they pick up the most recent
occurrence of a given style, even if it's on a previous page, and this works
even in protected forms (luckily, since ordinary REF fields don't), but if
the new page perhaps contained an empty paragraph in the nominated style...
I think you have to be very careful to reserve the particular style for only
the text to be referenced. Often a character style is more suitable for this
purpose than a paragraph style, as it can be applied to just the text form
field itself and nothing else in the document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"kscorbet" wrote in message
...
That appears to have been it... not that I found the empty paragraph in
question, but I recreated it from the beginning and it now works.

My next question is whether you can get it to work with new headers that

get
created during entry of data into the form? There is a section that is
unprotected where free text is allowed and if enough is entered to create

a
new page, the header on that page does not contain the desired data via
STYLEREF.

- Kelly


"Suzanne S. Barnhill" wrote:

If a StyleRef field is blank on the first page it can sometimes be

because
an empty paragraph has become formatted in the referenced style. This

can be
easy to miss in a table, where rows can be set to an exact height and

text
that doesn't fit may be hidden from the user but still visible to Word.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"kscorbet" wrote in message
...
I have a protected form and I used STYLEREF to plug the contents of

one of
the form's fields into the page header. However, it goes into all the
headers but the one on the first page (which was the one I applied it

to).
I
do not have Different First Page set anywhere. It does work in all

page
headers if I unprotect the document. This is Word 2003. Any ideas?

- Kelly




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Styleref in headers of pages displaying endnotes Philologist Page Layout 2 June 21st 06 01:51 AM
When I add headers to my template, it only works for page 1 Lola Pink Page Layout 2 May 30th 06 09:06 PM
How do I avoid section numbers in headers created w/ StyleRef? Anne at Duke Page Layout 3 April 8th 06 12:13 AM
Availability of Works Database and Works Spreadsheet in Word form Ken Microsoft Word Help 0 November 4th 05 04:19 PM
Symbols in headers via styleref Ann Formatting Long Documents 1 April 27th 05 05:56 PM


All times are GMT +1. The time now is 09:08 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"