>>>2) Would it be slower than nested iif?
>>
>>I tested with 50K records and showed no difference - both fired in no time. (Literally - 0.000 seconds)
>>
>
>left out:
>It also depends on the complexity of the code that runs to set this.
>
>>>
>>>Thanks in advance.
VFP may also be smart enough to only call the function for as many records as you have currently displayed in the Grid. You don't by chance have an incredibly large form with a grid taking up the entire height to test on, do you? ;-)
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao