Crystal Reports:
Change the color
of a horizontal line conditionally
Lines
and boxes can add some nice formatting to your Crystal Report. These can have
various properties set, including line thickness and color, but none of
the properties can be conditional. There are two ways to have conditional
line colors in your report:1. Method one
a) Create multiple sections in your report, with a
line of each color in each section.
b) Use conditional section suppression to select the
line you require.
2. Method two
a) Create a formula of
ReplicateString("_",120) // the character
inside the quotes is an Underscore
b) Place this on your report and it can have a
conditional color.
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd.
It may be freely copied and distributed as long as the
original copyright is displayed and no modifications are made to this
material. Extracts are permitted. The names Crystal Reports and Seagate
Info are trademarks owned by Business Objects.
|