S
Steven Packard
OK, I have got to find a way to duplicate the
functionality of the mailmerge object as it relates to the
merge process. The mailmerge object does not do what I
need it to do so I want to see if I can use ADO and
duplicate the merge process. It appears that the merge
process separates each instance of the document with a
section break (starting each section on a new page). I
tried out the section breaks interactively and in VBA and
it looks great. I have the .insertafter method down
pretty well I think. What I still am a little nervous
though about is how to get the "main document" (the
original body of the template without the code but
including all the headers, footers, and footnotes,
graphics, etc. to duplicate along with their bookmarks so
that I can reference them for each record in my
recordset. Has anyone done this? If I can figure this
out, I might be able to do the 3-D merges and handle long
sql statements (assuming I can pass a recordset to a
template).
Ideas?
Steven
functionality of the mailmerge object as it relates to the
merge process. The mailmerge object does not do what I
need it to do so I want to see if I can use ADO and
duplicate the merge process. It appears that the merge
process separates each instance of the document with a
section break (starting each section on a new page). I
tried out the section breaks interactively and in VBA and
it looks great. I have the .insertafter method down
pretty well I think. What I still am a little nervous
though about is how to get the "main document" (the
original body of the template without the code but
including all the headers, footers, and footnotes,
graphics, etc. to duplicate along with their bookmarks so
that I can reference them for each record in my
recordset. Has anyone done this? If I can figure this
out, I might be able to do the 3-D merges and handle long
sql statements (assuming I can pass a recordset to a
template).
Ideas?
Steven