Mail-Merge Report

To create a mail merge report, do the following:

  1. Create a new Advanced Report or open an existing one.
  2. Fill in the details for the Name and Description properties.

  1. Double-click on the Data Sets link in the Property Editor form.
  2. Click the plus icon to add a new Data Set.
  3. Fill in the SQL Script Properties form as shown below, then click OK.

  1. Select Layout and click on the Launch Designer icon to bring up the Report Designer screen.

  1. Drop a Label control onto the Detail band.
  2. Drop the SITE_ID and PROJECT and END_DEPTH fields into the Label control in the Detail band.
  3. Add the rest of the text to the Label in the Detail band as shown below.
  4. Drop a Rich Text control on the PageHeader1 band and add the text as shown below. Format as desired.

  1. Click on the Print Preview tab to see the output from the report.