Hmm, I can send you a form sample where your exact code with my change works just fine.
>It still didn't do anything different. It's just switching the IIF sides (= vs.# ?). thanks anyway for repling.
>
>Chuck
>
>>Chuck, change the code in Init() to:
>>
>>ThisForm.SetAll("DynamicBackColor", ;
>>"IIF(RECNO('auth') # ThisForm.nGridRecno, RGB(255,255,255),"+ ;
>>"RGB(193,255,255))", "Column")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison