Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

Checking custom properties between template and document??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ML - 14 Sep 2006 20:05 GMT
I have a template that makes use of a number of custom document properties
to store data related to the document.  The issue is that we may have new
versions of a template over time in which new properties are added.  If a
document that was created from an older version of the template is then
linked to the new template then the new properties will not exists and thus
anything referencing them will cause an error.

Is there anyway to resync a document and template so that the custom
properties are the same?  Or some means to loop though and compare the two
or is the only way to check for them on an item by item basis?
Jezebel - 14 Sep 2006 21:51 GMT
Add an AutoOpen macro to the template, that updates the document's
properties from those in the template.

But the situation doesn't quite make sense. If these values are constant,
why store them in the document at all? -- why not just leave them in the
template? But if they store data 'about the document' why do you want to
change them to the values in the template? -- what happens if you have two
documents based on the template, with different values?

>I have a template that makes use of a number of custom document properties
>to store data related to the document.  The issue is that we may have new
[quoted text clipped - 6 lines]
> properties are the same?  Or some means to loop though and compare the two
> or is the only way to check for them on an item by item basis?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.