Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Flamingo9000 Flamingo9000 is offline
external usenet poster
 
Posts: 2
Default Content controls and repeating data - any new insights?

I spent the whole afternoon trying to get a template to work in which I would
like the date and document title to be repeated on every page using content
controls. I found a number of solutions, ranging from using the document
properties (most common solution) to adding specific VB code to the template.

While Greg Maxey's renowned "Repeating Data (Section 7)" is very helpful, in
the end all these solutions fail to explain how Word 2007's integrated
templates succeed in repeating data without needed any of these solutions.

I had a closer look at one of the standard templates, namely the "Equity
Report": the title and date controls are replicated throughout the document,
and changing the value of any of them instantly updates all the others. The
document does not contain any bookmarks, and no custom VB code either as far
as I could see.

Some of the controls do not even have a title or tag and are still updated
automagically... I am at a complete loss to explain this. Any ideas, anyone?
It is very frustrating not being able to do the same without reverting to
hacks :|


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Content controls and repeating data - any new insights?

Have a look at another of Greg's pages,
http://gregmaxey.mvps.org/Mapped_Content_Control.htm.

The thing that makes the content controls repeat data is that they're linked
to the same piece of XML in the document. While you could possibly do this
"by hand", Greg's add-in makes it a pushbutton operation.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Flamingo9000 wrote:
I spent the whole afternoon trying to get a template to work in which
I would like the date and document title to be repeated on every page
using content controls. I found a number of solutions, ranging from
using the document properties (most common solution) to adding
specific VB code to the template.

While Greg Maxey's renowned "Repeating Data (Section 7)" is very
helpful, in the end all these solutions fail to explain how Word
2007's integrated templates succeed in repeating data without needed
any of these solutions.

I had a closer look at one of the standard templates, namely the
"Equity Report": the title and date controls are replicated
throughout the document, and changing the value of any of them
instantly updates all the others. The document does not contain any
bookmarks, and no custom VB code either as far as I could see.

Some of the controls do not even have a title or tag and are still
updated automagically... I am at a complete loss to explain this. Any
ideas, anyone? It is very frustrating not being able to do the same
without reverting to hacks :|



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Flamingo9000 Flamingo9000 is offline
external usenet poster
 
Posts: 2
Default Content controls and repeating data - any new insights?

Ok, that makes sense - I just wonder how you link them, or how you can see
what piece of data they are linked to. As I mentioned, one of the controls in
the "Equity Report" template does not even have a title or tag assigned to
it. Is it possible this is something that happens behind the scenes when you
have copied a control?

I'll install Greg's Add-In anyway and see how that works out. Thanks!



"Jay Freedman" wrote:

Have a look at another of Greg's pages,
http://gregmaxey.mvps.org/Mapped_Content_Control.htm.

The thing that makes the content controls repeat data is that they're linked
to the same piece of XML in the document. While you could possibly do this
"by hand", Greg's add-in makes it a pushbutton operation.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


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
Content Controls Office_user Microsoft Word Help 5 July 1st 08 09:10 AM
Content Controls Elvis Microsoft Word Help 1 March 20th 08 12:56 PM
Content Controls Office_user Microsoft Word Help 1 August 28th 07 02:48 PM
Content types and content controls Øyvind Skaar Microsoft Word Help 0 May 14th 07 04:17 PM
Repeating content controls, anyone? [email protected] Microsoft Word Help 1 December 1st 06 01:53 PM


All times are GMT +1. The time now is 12:16 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"