>>
>>Of course, the best you can do is influence the process of creating the cursor in the first place, and add an integer column with actual color number. Then there's no iif, noarrays and no function at all, and you can use all the colors you like:
>>>
'tran(myColorField)'
>>>No iif() too :)
>>Nothing at all :)
>
>OK, I was too quick. Not an integer column, but a character column with the tran() of the color number. Therefore:
>
'myalias.myColorField'
And I was too quick to say no iif() :) Made a pitfall and sensed for a moment ascan() was returning 0 or 1 :)
Cetin