>>Harry,
>>
lResult = (Name = "B")
>>* and
>>lResult = iif(Name = "B",.t.,.f.)
give the same result. So it shouldn't be your problem. I wonder, might have you placed an "=" sign in front of iif() so the expression is evaluated for current rec and result (.t. or .f.) is applied ? If you've use expression builder (fx) it places that "=".
>>Cetin
>
>hmmm... I thought it looked too simple! Tried it and no improvement. And yes I did use the expression builder so it did place a prior '=' sign in front of the expression. Come to think of it, I haven't tried doing it without the '=' but if that works I think I'll be even more confused! We shall see...
As also Pamela said, if you use "=" (evaluate) sign, it's evaluated for one record and the result is applied to all. So you would get all Bold or none bold.
If you use "=" also quote it or simply don't use "=". Dynamic* need an expression, not a value. That expression is reevaluated dynamically for each grid control refresh.
Cetin