View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Atul Atul is offline
external usenet poster
 
Posts: 1
Default Heavy Mail Merge Application

Hi All,

I am currently creating an application which allows users to choose a list
of database fields and include them into a main mail merge document. Once
this step is complete I will allow the user to modify the main mail merge
document file and insert merge fields and standard body text.

After research I found one way of adding these merge fields to the document
was to create a text file (with all the merge field names) and linking this
to the main merge document using the OpenHeaderSource property. Is there any
other way of doing this? Rememeber, I will be exporting the selected merge
fields from an external application and linking this with Word to create a
main mail merge document.

My second question is: If my application extracts the merge data source into
one large text file, can I use ADO to grab a subset of these records,
perform a merge and then move onto the next subset (defined by differing
criteria). I would like this approach as I do not want to read in the entire
datasource, perform filtering and then merge, save and close the document.
Then repeat the read, filter and merge. Is this possible?

Thank you very much.
Atul