D
Daniel Friedman
I'm trying to develop a membership directory using data
stored in Access. I want to produce the directory in
Word since it seems to allow much easier and finer
control of how text appears--margins, fonts, etc. (I'm
sure VBA would allow such, but a Word template seems much
easier, plus it's graphical, and so easier to visualise
the results.)
I've succeeded in doing some of what I want with a Word
template containing MERGEFIELDs, and filling it in with
MailMerge via Automation, but I have a few questions:
1) I have a group of MERGEFIELDs for name, address, etc.
I find that after MailMerge fills in the entire group of
MERGEFIELDs, a section break [which I find effectively
becomes a page break] is introduced. How can I suppress
this automatic behavior? I want to just continue with
the next directory entry right where it left off after
the first, fill up a page, and only *then* continue onto
the next page.
2) How can I explicitly set a MERGEFIELD value? Maybe I
have to loop through all the records, fine. For each
record, I want to assign a value to one of the
MERGEFIELDs in the Word document, and this value is
computed based on various values I have in the record.
3) Maybe I should be using Word bookmarks instead of
MERGEFIELDs. But I don't see how to do so if I want to
process *many* or *all* records and produce output
corresponding to multiple records on a single page (and
continue on multiple pages) within a single Word document.
Many, many thanks,
--daniel friedman
danielf at erols dot com
stored in Access. I want to produce the directory in
Word since it seems to allow much easier and finer
control of how text appears--margins, fonts, etc. (I'm
sure VBA would allow such, but a Word template seems much
easier, plus it's graphical, and so easier to visualise
the results.)
I've succeeded in doing some of what I want with a Word
template containing MERGEFIELDs, and filling it in with
MailMerge via Automation, but I have a few questions:
1) I have a group of MERGEFIELDs for name, address, etc.
I find that after MailMerge fills in the entire group of
MERGEFIELDs, a section break [which I find effectively
becomes a page break] is introduced. How can I suppress
this automatic behavior? I want to just continue with
the next directory entry right where it left off after
the first, fill up a page, and only *then* continue onto
the next page.
2) How can I explicitly set a MERGEFIELD value? Maybe I
have to loop through all the records, fine. For each
record, I want to assign a value to one of the
MERGEFIELDs in the Word document, and this value is
computed based on various values I have in the record.
3) Maybe I should be using Word bookmarks instead of
MERGEFIELDs. But I don't see how to do so if I want to
process *many* or *all* records and produce output
corresponding to multiple records on a single page (and
continue on multiple pages) within a single Word document.
Many, many thanks,
--daniel friedman
danielf at erols dot com