Report Wizard - Form Letter

The Form Letter is a feature in JReport that allows you to combine text and fields into a form box so that you can create a form for a document or a letter.  A good example of a form letter can be seen in formletter.cls in the Example directory. 

help123.gif (3180 bytes)

You will notice in the form box that both the text and field are placed together.  When this report is viewed, the field will change based on any pre-set criteria.  It is much simpler to create a form and let JReport retrieve your data, then for you to spend hours trying to compile the data yourself.

How to create a Form Letter:

First, select the Form Letter icon in the New tab, under the Choose Report window.  The following window should appear:

 
help124.gif (9412 bytes)

Complete all the necessary information in the Data, Query, Display, Group/Sort, and Summary tabs. 

The Form Letter window consists of the following: