Click here to Skip to main content
15,884,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
How can I change backcolor/backimage of crystal report in C#.NET VS2008?
Posted
Updated 8-May-10 21:48pm
v3

In the section expert, you can set a background color on a section. This can be an effective way to highlight a colored band for column headings.

But one effect you may not want is that the band goes all the way across the page. If you want a colored band across the report, but would like it to be narrower, we have a solution.

1.

Create a second section and move it the above the original section.
2.

Set this new section to “Underlay”
3.

Make the section slightly larger than the subsequent section
4.

Insert a box in this section, change the Border Style to “None” and set a fill color

This can be a very effective formatting technique to add some color to your report





This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd.
 
Share this answer
 
Go to the format section of the Details. Click the Color Tab. Then click the button next to the Background Color CheckBox
insert this code to Format Formula by value color u wanted:
if RecordNumber mod 2 = 0 then color(224,223,227) else crNoColor
 
Share this answer
 
Change the background color of any section in crystal report

Step 1. Right click in the report

Step 2. Select Insert Section.

Step 3. Select "Section" from Insert Section.

Step 4. A new windows Will open.

Step 5. In left panel Select Which Section do u want to change the color.

Step 6. In right section select Color tab and select the color.
 
Share this answer
 
Right Click on Field->Hinghting Expert->Add new Change Item Editor
 
Share this answer
 
Comments
Nelek 28-Sep-13 5:43am    
Do you realize that the question is over 3 years old and it was already solved?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900