Progress
Report Builder
Tutorial


Specifying Conditional Printing for Each Band Line

Now that you have two identical record band lines, you must instruct Report Builder when to print each one using the conditional printing feature.

Follow these steps to specify conditional printing for each band line:

  1. Select the first record band line.
  2. Choose Properties Band Line Properties. The Band Line Properties dialog box appears:
  3. Activate the Enable Conditional Printing toggle box.
  4. Select the Band–Choice calculated field from the drop-down list.
  5. Activate the Print When Field Is True toggle box, then choose OK. This means that Report Builder prints the band line only when the value in the Band–Choice field is true.
  6. Select the second record band line.
  7. Choose Properties Band Line Properties. The Band Line Properties dialog box appears.
  8. Activate the Enable Conditional Printing toggle box.
  9. Select the Band–Choice calculated field from the drop-down list.
  10. Activate the Print When Field Is False or UNKNOWN toggle box, then choose OK. This means that Report Builder prints the band line only when the value in the Band–Choice field is false.

When you return to the report layout, it looks like the one shown in Figure 10–2.

Figure 10–2: Layout with Conditional Printing Indicators

Notice the question marks in the band line status area. They indicate that Report Builder prints each of the record band lines only when the specified condition is met.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095