on 11-30-2018 11:16 PM
I have a report grouped by state and we want the report to have a different color for each group (STATE) sort of like a rainbow.
Using crystal reports 2016
Hi Joe,
You can use a random number generator to automatically color a section.
Go the Section Expert > Highlight the Group Header > Color tab > Click the formula button beside Background color > Use this code:
Color(int(rnd(1)*200), int(rnd(1)*150), int(rnd(1)*140))
You can change the multiplication factors above to a smaller number to change the shades.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.