>Thanks for the reply Sergey,
>i know this ,
>mytable.cccode,mytbale.ggcode,mytable.sscode contains "C","G","S" records i wantto
>this cells show in colors
>
>tia
If you have only 3 different values and want to show in three different colors depending on the value, you can put
this.colcCcode.DynamicForeColor=iif(MyTable.ccCode='C',255,iif(myTable.ccCode='G',0,255*255))'
If it's not broken, fix it until it is.
My Blog