Question : Mail Merge with section breaks

I am trying to create a word document that has a page of header text, many paragraphs with data extracted from a SQL Server database, followed by some trailer text. I would like to know if this is possible and, if so, how to do it. I also have a problem that every record formatted from the database seems to be followed by a section break (next page). Is there some way to control this so that the paragraphs don't all begin on a new page?

Answer : Mail Merge with section breaks

Mail merge is not designed to do reports, i.e. anything that requires a one to many query.

If you are using a simple query, you could run the merge and add the header and trailer text to the result document afterwards.

You can avoid the section break separators by doing a Directory type instead of Letters
Random Solutions  
 
programming4us programming4us