Database Field Code Clobbers Caption

S

sisdog

I've got a {DATABASE} field code in my word 2007 doc and everything is
working well. When I hit F9 and update the field, any new data from
my database comes right in.

And I also figured out how to win the formatting battle. I added the
"\* MergeFormat" switch in the field code and now my table formatting
is maintained during a refresh.

My only problem is the table's caption. After creating the table I
highlighted it and right-clicked to choose the Insert Caption option.
After adding the caption is look great sitting underneath the table.
But when I Update the Field, the caption vanishes every time. Word is
definitely behaving as if the caption is part of the {DATABASE} field
code yet when I show the field code I don't see anything in there that
indicates that the caption is part of the field code.

Any ideas?
 
D

Doug Robbins - Word MVP

You do not need to select the table to insert a caption. Just locate the
cursor below the table and click on the References tab of the ribbon and in
the Captions section, click on insert Caption. Your caption will then be
independent of the table.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
S

sisdog

I've got a {DATABASE} field code in my word 2007 doc and everything is
working well.  When I hit F9 and update the field, any new data from
my database comes right in.

And I also figured out how to win the formatting battle.  I added the
"\* MergeFormat" switch in the field code and now my table formatting
is maintained during a refresh.

My only problem is the table's caption.  After creating the table I
highlighted it and right-clicked to choose the Insert Caption option.
After adding the caption is look great sitting underneath the table.
But when I Update the Field, the caption vanishes every time.  Word is
definitely behaving as if the caption is part of the  {DATABASE} field
code yet when I show the field code I don't see anything in there that
indicates that the caption is part of the field code.

Any ideas?

Ok, figured out the work around. When you right click on the table
and add the caption it is somehow gluing the table and it's caption
fields codes together. What I did instead was added a caption a few
paragraphs down from the table first. Then I refresh the table to
make sure that the caption and the table were divorced. Once that was
established and removed the paragraph markers in between the table and
the caption refreshing the table frequently to keep proving that the
caption and table where separate. This worked.
 

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