View Single Post
 
Old 06-27-2023, 12:33 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Your data is structured quite nicely but I can't see how it could be used to build a mail merge report in a single Word document.

I think you can use a many-to-one type merge for one section of the report but needing to start multiple times with each a new filter/output fields is problematic.

A Word-centric method using a 'subreport' concept would be to create a shell document and produce separate mail merge output docs for each of the sections. You can then use IncludeText fields to link to those separate documents. This is probably too labour intensive to use as a realistic option.

I would say that this is a job that Microsoft Access is better suited for with a report comprised of sub-reports.

You could also create a macro to do it all in a single Word document. This macro could create a recordset from the input data and then loop through that to build the various sections.

Do any of those options appeal?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote