MailMerge Query

T

TonyK

Hi All

I have designed a Word On-Line form that contains a number of MailMerge
fields from a Patient Database. These fields have been provided by the
dtaabase provider and work fine when first running the form. The form also
contains a few Word Drop Down and Text Fields.
When the user goes back into the form to modify an entry in one of the Word
fields all fields revert to blank including the mailmerge fields.
My query is how do we avouid this happening.
Two of the fields are run by macro for their selections.
Any help qould be appreciated.
Kind regards
 
D

Doug Robbins - Word MVP

I am not sure what process is being followed up to and including when you
say "the user goes back into the form".

If the Word fields that you mention are FormFields that require the document
to be protected, there are a couple of things to bear in mind:

1. FormFields and Mail Merge are mutually incompatible. A work around is
provided in the article “Combining FormFields and Mail Merge†on the
following page of fellow MVP Graham Mayor’s website:

http://www.gmayor.com/Form_Fields_and_Mail_Merge.htm

If that information is of use to you, please do consider contributing to the
maintenance of that website to ensure its continued availability.

2. If the form is being unprotected and re-protected by a macro, you
should use the following to do the re-protection to avoid the FormFields
from being reset

ActiveDocument.Protect wdAllowOnlyFormfields, NoReset

--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top