ActiveReports 9
Mail Merge with RichText
Show AllShow All
Hide AllHide All

ActiveReports supports field merged reports using the RichText control. The RichText control can contain field place holders that can be replaced with values (merged) at run time. This walkthrough illustrates how to create a mail-merge report using the RichText control.

This walkthrough is split up into the following activities:

Note: This walkthrough uses the Northwind database. By default, in ActiveReports, the Northwind.mdb file is located at [User Documents folder]\GrapeCity Samples\ActiveReports 9\Data\NWIND.mdb.

When you complete this walkthrough you get a layout that looks similar to the following at design time and at runtime.

Design Time Layout

Runtime Layout

To add an ActiveReport to the Visual Studio project

To connect the report to a data source

To create a layout for the report

To add fields to the RichText control

To use the FetchData event to conditionally format data

To add code to update RichText fields with the current date and conditional values

To add code to send the group subtotal value to the RichText field

To view the report

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum