With VFP 9, you can create a special report listener class to do this for you. In previous versions, your only choice is to repeat the fields on the report, using Print When logic to determine what the color is.
Cathy
>Hi Aashish,
> Thanx for ur reply....
> But, the colors are not fixed.. the color of the fields can be set by the user thru a form and so they r stored in the database as numeric values of those colors.
> so i want to take the color values thru a Cursor and set the forecolor and backcolor of the fields runtime by passing those values.
> Is it possible?
>
>With regards,
>Somesh