Click here to Skip to main content
15,564,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to change color fields in crystall report?
Posted

You can change the forecolor of the report field in your report based on a condition.
1.Right click the field.
2.Select Format object.
3.Goto font Tab.
4.Specify a formula for the Color of the Field by clicking the Formula generator button.
5.Formula workshop window opens.
6.Drag the database fields to be used in the formula i-e OrderTypeField here.
 
Share this answer
 
Comments
Sandeep Mewara 11-May-11 4:38am    
My 5!
[no name] 11-May-11 8:31am    
Thanks Sandeep.
try this!!!!!


In the design view of crystal Report Select Column goto to Format and Select Formula Button of Font and write

If Tablename.ReportColumnname =0 then
Red
Else
Blue


Save &Refresh your Report
you can do this for all columns
 
Share this answer
 

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