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 / Mailmerge and Fax / February 2007

Tip: Looking for answers? Try searching our database.

DOCPROPERTY in letter header can this be merged?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
justagrunt - 12 Feb 2007 05:50 GMT
If I create a DOCPROPERTY in a header of a letter I get "Error bookmark
undefined"
How can I merge a feild into the header so that it can be used over and over
as a template.
Signature

Regards
Bill

macropod - 12 Feb 2007 07:17 GMT
Hi Bill,

DOCPROPERTY fields need to be given a valid parameter to work. You can see the list of valid parameters if you insert one via
Insert|Field and click on the 'options' tab.

Cheers

Signature

macropod
[MVP - Microsoft Word]

| If I create a DOCPROPERTY in a header of a letter I get "Error bookmark
| undefined"
| How can I merge a feild into the header so that it can be used over and over
| as a template.
justagrunt - 12 Feb 2007 19:15 GMT
Thanks,
If this is a custom property that I have created for a mail merge, the field
name is in the custom properties and the information is taken from an access
table.
I give it the parameter {DOCPROPERTY "QuoteRef" \* MERGEFORMAT} The
"QuoteRef" is also used elsewhere in the letter and populates OK.
Do I have a possible problem with it being in the Header?
Is there any reason that the Custom Property will not work in a Header?
Is there a correct way to get a mail merge field into the header?
Signature

Regards
Bill

> Hi Bill,
>
[quoted text clipped - 7 lines]
> | How can I merge a feild into the header so that it can be used over and over
> | as a template.
Doug Robbins - Word MVP - 12 Feb 2007 20:31 GMT
Use a DOCVARIABLE field and set a document variable using the data from
Access.

While some people say that DOCVARIABLE fields will cause problems in
headers, my experience is exactly the opposite and I believe that it is
DOCPROPERTY fields that have the problems.

Signature

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

> Thanks,
> If this is a custom property that I have created for a mail merge, the
[quoted text clipped - 21 lines]
>> over
>> | as a template.
Peter Jamieson - 13 Feb 2007 09:01 GMT
FWIW there was undoubtedly an error with DOCVARIABLE fields in the original
version of Word 97 (the first version of Windows Word with the DOCVARIABLE
field, as it happens) but it was fixed in an update (see e.g.
http://support.microsoft.com/kb/168923 )

I have also encountered problems with DOCPROPERTY fields: "linked"
properties  are certainly to be avoided, and ISTR problems with "date" type
properties - probably to do with the date format, locales etc. I wouldn't
personally use any property type other than "text", which I've used
extensively with DOCPROPERTY fields for a long time without problems.
Probably forgotten the teething troubles now though:-)

Peter Jamieson

> Use a DOCVARIABLE field and set a document variable using the data from
> Access.
[quoted text clipped - 29 lines]
>>> and over
>>> | as a template.
 
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.