>
>THIS.column1.SETALL("picture", ;
> IIF(Mytable.status= .T.,UnRead,READ), "image")
>THIS.column2.SETALL("picture", ;
> IIF(Mytable.Attachcount > 0,Attach,NonAttach), "image")
>
If this is the exact code you a re using then, you are correct: the code is only being evaluated once. The reason is your omission of quotes around the IIF statement. Instead of setting that property to "IIF......" you are setting it to the results of IIF.....
Erik Moore
Clientelligence