View Single Post
  #3   Report Post  
Posted to microsoft.public.word.tables
sisdog sisdog is offline
external usenet poster
 
Posts: 5
Default Database Field Code Clobbers Caption

On Feb 16, 12:09*am, sisdog wrote:
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.