A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Database Field Code Clobbers Caption



 
 
Thread Tools Display Modes
  #1  
Old February 16th, 2010, 09:09 AM posted to microsoft.public.word.tables
sisdog
external usenet poster
 
Posts: 5
Default Database Field Code Clobbers Caption

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?
  #2  
Old February 16th, 2010, 09:22 AM posted to microsoft.public.word.tables
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Database Field Code Clobbers Caption

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

"sisdog" wrote in message
...
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?


  #3  
Old February 16th, 2010, 09:29 AM posted to microsoft.public.word.tables
sisdog
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.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.