Is 2 a style name?
SECTION is a field so you need
{ IF { SECTION} 1 { STYLEREF 2 }}
--
Graham Mayor - Word MVP
My web site
www.gmayor.com
Word MVP web site
http://word.mvps.org
"cassiopeia" wrote in message
...
Hi, I'm writing my bachelor thesis, and I'd like to insert a header
with sectionname after all the introduction stuff like frontpage,
table of contents, table of figures...
I have a section brake right before my real text starts, and have
tried this:
{ If SECTION 1 "{ STYLEREF 2 }" "" as field code, but it gets just
ignored. However, a sole { STYLEREF 2 } works just fine.
Any idea?