Search code examples
visual-studio-2010crystal-reports

how to give color in each filed in crystal report


I have a crystal report like this: my records showing like this

Status    Location      Parkingyype  Vehiclecount
Received  blooimng      normal        1
recieved   blooimng     vip           10
parked      blooming     normal        1
deliverd    blooimng      vip           1

in each status i have to give separate color only the status column ,,

my expect out put like this:how i can do this in crystal report.. enter image description here


Solution

  • You will have to create a rectangle control and set it behind your status control.

    Then, depending on the value of the status control, you can set the color of the rectangle control through a formula.