Crystal Reports Tools: Improve Performance While Saving Time and Money

  Resources  
Best sellers:
cView
Report Analyzer
cViewSERVER
ReCrystallize

Crystal Reports: Free trial

Articles:
Administration
Advanced
Basic
Crystal eNL
Database

Financial
Problems Solved

Books:
CR Books

Database Books
Developer Books
Tools:
All CR Tools
CR Analyzers
CR Bestsellers
DataBase Tools
CR Graphics
International
CR Mail UFLs
ReCrystallizePro
CR Schedulers
CR UFLs
CR Viewers

Add'l:
About us

Contact Us
cViewSUITE Ppt
Support

Crystal Reports
on Steroids

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.

These keywords may have brought you here: conditional color changes, crystal reports tutorials, conditional formatting, crystal reports tips, conditional line formatting, crystal reports articles, conditional formats, crystal reports information, crystal reports tips, crystal reports help, crystal reports training